homebrew - python pip still looking for previous installation -


after experiencing this brew issue sqlite3, did

brew rm sqlite python python3 

then

brew install python python3 

this installed python2.7.5 default interpreter , brew installs pip along python, thought able to

pip install virtualenv 

to install virtualenv new python2.7.5. however, i'm getting

-bash: /usr/local/share/python/pip: /usr/local/cellar/python/2.7.3/bin/python: bad interpreter: no such file or directory 

how can around/fix this? should creating symlink between

/usr/local/share/python/pip --> /usr/local/cellar/python/2.7.5/bin/pip-2.7 

it sounds /usr/local/share/python/pip pointing wrong version of python. check first line of file, , if looks like...

#!/usr/local/cellar/python/2.7.3/bin/python 

...then you'll need change point correct version of python.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -