sysconfig paths are incorrect
Bug #1739628 reported by
Timmmm
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 17.10:
$ ls /usr/include/
abstract.h code.h funcobject.h marshal.h pgenheaders.h pymem.h
....
$ ls /usr/local/
ls: cannot access '/usr/local/
$ python -c "import sysconfig; print(sysconfig
/usr/local/
Definitely wrong.
Python is such a massive pain to integrate with - I actually switched from CMake's FindPythonLibs() which is heuristic-based and very unreliable to sysconfig - "surely python itself knows where it is installed?" I thought. Ha. Of course not. /rant
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.