Hi, I'm a complete newbie here, but I'm trying to install pyramid 1.5 through SSH and I think the problem is that it's trying to install it with python 2.4 instead of python 2.7
I tried to set the python path to 2.7 manually but it doesn't seem to be working. Any help would be appreciated!
[andromeda@web443 webapps]$ export PYTHONPATH=[home/andromeda/lib/python2.7]
[andromeda@web443 webapps]$ python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
exit()
[andromeda@web443 webapps]$ echo $path
[andromeda@web443 webapps]$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/andromeda/bin
[andromeda@web443 webapps]$ ^C
[andromeda@web443 webapps]$ virtualenv --no-site-packages env
Traceback (most recent call last):
File "/home/andromeda/bin/virtualenv", line 7, in ?
sys.exit(
File "/usr/local/lib/python2.4/site-packages/pkg_resources.py", line 277, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.4/site-packages/pkg_resources.py", line 2180, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.4/site-packages/pkg_resources.py", line 1913, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/home/andromeda/lib/python2.4/virtualenv-1.11.2-py2.4.egg/virtualenv.py", line 1566
cp_or_ln = (os.symlink if symlink else copyfile)
^
SyntaxError: invalid syntax
[andromeda@web443 webapps]$
asked
13 Feb '14, 07:54
Andromeda
11●1●4
accept rate:
0%