iMitwe
iMitwe

Reputation: 1258

Unusual error while installing any pip based package

I do not remember since when, but whenever I install any pip based package, my system (Ubuntu 14.04, Python 2.7.6) trows a warning/error :

Url 'file:///home/username/.pip-wheelhouse' is ignored: it is neither a file nor a directory.

I don't know where this line came from but the pip package I'm installing installs very well, but this line is always shown. How can I remove this ?

Upvotes: 0

Views: 1417

Answers (1)

rileymcdowell
rileymcdowell

Reputation: 599

There are a few things that can cause this. First take a look at your pip configuration file at ~/.pip/pip.conf and see if it contains a section like this:

[wheel]
wheel-dir = /home/username/.pip-wheelhouse

If so, comment that section out, use pip, and see if that gets rid of the message.

This config file specifies the same information as some environment variables. Try this:

env | grep -i wheel

This command will list all of your environment variables that contain the word wheel. If you see any output, look for a line that specifies the .pip-wheelhouse directory. For example, PIP_FIND_LINKS is the top suspect. When you've found the culprit and you just need to track down where those variables are getting set. The top candidate files for setting variables like that would be ~/.bashrc, ~/.profile, and /etc/profile. Search those files for the word wheel and I suspect you'll be able to resolve this.

Upvotes: 1

Related Questions