python - pip installs 2.7 packages into /usr/local/lib/python3.2/dist-packages -


folks.

i'm trying install packages tornado using pip (simple pip, not pip3.2), in installs /usr/local/lib/python3.2/dist-packages, python2.7 can't find them.

what doing wrong? should set pythonpath or whatever? (it seems quite dangerous).

$ /usr/local/bin/pip --version pip 1.4.1 /usr/local/lib/python3.2/dist-packages/pip-1.4.1-py3.2.egg (python 3.2)\ 

ubuntu 12.04 lts

answer: sudo mv /usr/local/bin/pip /usr/local/bin/pip3.2

do have python2 installed?

don't know on distribution are, there pip2 pip python2 (example arch linux -> link).

otherwise check http://pip.readthedocs.org/en/latest/installing.html additional instructions


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -