Message303000
Python on windows (winpython) was not adding PYTHONPATH to sys.path as documented and I could not understand why.
It took a lot of time, web searches, and finally a tour through the code to find out about _pth; which is well documented but difficult to find out about if you don't know about it beforehand.
Please improve the sys.path documentation to say that it depends on either PYTHONPATH or the *._pth file. Better yet, link to the actual sys.path heuristics. |
|
Date |
User |
Action |
Args |
2017-09-26 04:47:20 | Traveler Hauptman | set | recipients:
+ Traveler Hauptman, docs@python |
2017-09-26 04:47:20 | Traveler Hauptman | set | messageid: <1506401240.1.0.91731713201.issue31582@psf.upfronthosting.co.za> |
2017-09-26 04:47:19 | Traveler Hauptman | link | issue31582 messages |
2017-09-26 04:47:19 | Traveler Hauptman | create | |
|