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
Post a Comment