After looking in the Sticky on Python install i need further help.
(btw. i know the i need 2.2 and not 2.3 python to get most scripts to work, but same issue with 2.2)
Python installed and work when ‘python’ is called.
import sys ; print sys.path shows this :
['', '/usr/lib/python23.zip/lib/python23.zip', '/usr/lib/python23.zip/lib/python2.3', '/usr/lib/python23.zip/lib/python2.3/plat-linux2', '/usr/lib/python23.zip/lib/python2.3/lib-tk', '/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages', '/usr/lib/python2.3/site-packages/gtk-2.0/lib/python2.3/lib-dynload']
So in put this into ‘/etc/profile’ :
export PYTHONHOME=/usr/lib/python23.zip/lib/python23.zip:/usr/lib/python23.zip/lib/python2.3:/usr/lib/python23.zip/lib/python2.3/plat-linux2:/usr/lib/python23.zip/lib/python2.3/lib-tk:/usr/lib/python2.3:/usr/lib/python2.3/plat-linux2:/usr/lib/python2.3/lib-tk:/usr/lib/python2.3/lib-dynload:/usr/lib/python2.3/site-packages:/usr/lib/python2.3/site-packages/gtk-2.0/lib/python2.3/lib-dynload
(it really says export PYTHON… not on seperate lines)
in a console the following gives an error:
bash# $PYTHONHOME (enter)
blablabla all the directories: No such file or directory
YAAARRR what am i doing wrong?
Removing the python23.zip also didn’t do anything.
Slackware 9.1 if that makes any diff.
Thx in advance !