ashish_agarwal
January 5th, 2011, 09:05 PM
I ran 'sudo apt-get install python', which completed successfully. According to http://packages.ubuntu.com/karmic/python, this should have created the directory /usr/lib/python2.6, but I do not see any such directory.
This is causing problems:
$ python
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
I've tried 'apt-get purge python' and then reinstalling but this has not resolved the issue. Thank you for any help.
This is causing problems:
$ python
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
I've tried 'apt-get purge python' and then reinstalling but this has not resolved the issue. Thank you for any help.