You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recommended install method:
python setup.py install --prefix /usr/ --root /
Installs packages to /usr/lib/pythonx.x/site-packages. Debian (and its derivatives) stopped putting site-packages in their sys.path, and now uses dist-packages instead, so you'll get module not found errors for all of the required modules. the --prefix option overrides Debian's default path for installing modules.
Running setup.py like this works fine:
python setup.py install
The text was updated successfully, but these errors were encountered:
dogoncouch
changed the title
setup.py with --prefix options doesn't work in Debian-based distros
setup.py with --prefix option: module not found errors (Debian-based distros)
Mar 3, 2017
The recommended install method:
python setup.py install --prefix /usr/ --root /
Installs packages to /usr/lib/pythonx.x/site-packages. Debian (and its derivatives) stopped putting site-packages in their sys.path, and now uses dist-packages instead, so you'll get module not found errors for all of the required modules. the --prefix option overrides Debian's default path for installing modules.
Running setup.py like this works fine:
python setup.py install
The text was updated successfully, but these errors were encountered: