Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py with --prefix option: module not found errors (Debian-based distros) #13

Open
dogoncouch opened this issue Mar 3, 2017 · 0 comments

Comments

@dogoncouch
Copy link
Contributor

dogoncouch commented 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

@dogoncouch 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant