This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: invalid default module path
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum
Priority: low Keywords:

Created on 2000-11-17 15:35 by anonymous, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (3)
msg2435 - (view) Author: Nobody/Anonymous (nobody) Date: 2000-11-17 15:35
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?

msg2436 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2000-11-27 21:21
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.
msg2437 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2000-12-13 16:01
Haven't received a followup from the (anonymous) user.
Probably a system configuration error.
Closing this for lack of more info.
History
Date User Action Args
2022-04-10 16:03:30adminsetgithub: 33489
2000-11-17 15:35:19anonymouscreate