Timeline for Makefile installing python module out of of pythonpath?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 11, 2020 at 14:16 | history | edited | CommunityBot |
Commonmark migration
|
|
| May 23, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Mar 15, 2017 at 18:25 | comment | added | Neah-Ko | I know that this problem is only present on Debian like distributions, it's the only one that separates dist-packages and site-packages. | |
| Mar 15, 2017 at 17:23 | comment | added | Michael D. | I've updated my answer | |
| Mar 15, 2017 at 17:22 | history | edited | Michael D. | CC BY-SA 3.0 |
added 476 characters in body
|
| Mar 15, 2017 at 16:27 | comment | added | Neah-Ko |
You're right, when i'm installing manually the module with sudo python setup.py install --prefix=/usr it's installing in /usr/lib/python2.7/site-packages and python still can't find it. I'm lost here, why python is installing things where it cannot find it ?
|
|
| Mar 15, 2017 at 16:18 | comment | added | Neah-Ko | ... This post : stackoverflow.com/questions/9387928/… tells that if I install things from sources it should use site-packages but, it's not even in pythonpath. (I'm on debian stretch, if it has its importance.) | |
| Mar 15, 2017 at 16:17 | comment | added | Neah-Ko | That would be true on another distro than Debian, but when i print my full pythonpath : ~$ python -c "import sys; print sys.path" ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0'] No trace of /usr/lib/python2.7/site-packages .... | |
| Mar 15, 2017 at 10:51 | history | answered | Michael D. | CC BY-SA 3.0 |