python - how to Install Pip under /usr/local/lib/python2.7/site-packages in Linux -
i have 2 version of python in linux system /usr/bin/python2.6 /usr/local/bin/python2.7
i want install pip under python2.7 getting automatically installed under /usr/lib/python2.6/site-packages instead of /usr/local/lib/python2.7/site-packages.
**[root@sandbox site-packages]# pip /usr/bin/pip [root@sandbox site-packages]# pip -v pip 7.1.0 /usr/lib/python2.6/site-packages (python 2.6)**
i think there issue 2 version of python present in linux. how can forcibly install pip under python2.7 ?
can me resolve ?
you can try this:
/the/path/to/your/python2.7 -m pip install *your-packages*
regards, ed
Comments
Post a Comment