Installing setup tools for python
I'm trying to install setuptools on centos 5.6 for python 2.7.1. The system version is python 2.4
I found a simila开发者_如何学JAVAr question here but the solution still brings up the same error: setuptools-0.6c11-py2.7.egg: line 3: exec: python2.7: not found
Python is located in /usr/bin/python2.7.1
Any ideas?
Looks like the installer wants to execute python2.7
, whereas your binary is called python2.7.1
.
Try making a symlink in your /usr/bin/
directory.
sudo ln -s /usr/bin/python2.7.1 /usr/bin/python2.7
精彩评论