2

When running

pip install boto3

I get

-bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: Permission denied

I think it has something to do with pip trying to look for a python installation under /usr/bin/python, but a symlink to /usr/bin/python isn't created for me? I may have deleted that symlink when I upgraded from python 2.7.6 to python 2.7.9.

In my ~/.bashrc I have export PATH=$PATH:/usr/local/lib/python2.7.9/bin.

Can anyone tell me what's going on here?

Victor Cui
  • 1,393
  • 2
  • 15
  • 35

0 Answers0