[Python-bugs-list] [Bug #122690] invalid default module path

noreply@sourceforge.net noreply@sourceforge.net
Mon, 27 Nov 2000 13:21:19 -0800


Bug #122690, was updated on 2000-Nov-17 07:35
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: invalid default module path

Details: I have installed Python2.0 in a Linux 2.2 box under /usr/local/python/

I can define PYTHONHOME and PYTHONPATH pointing to the correct places and everything will work fine, but If I just do to include "/usr/local/python/bin/" in the PATH, python is unable to find any module from the standart module set.

Is this the correct behaviour?



Follow-Ups:

Date: 2000-Nov-27 13:21
By: gvanrossum

Comment:
This is not correct behavior, but the problem is probably in how your system is set up. Is PATH exported? Are there other Python installations? Are all the permissions set correctly? 

The best clue may be: what is sys.path when it doesn't work? (It should still be able to import "sys" even if everything else fails). Also try python -v.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=122690&group_id=5470