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 fails with passlib error #8

Open
jayarmstrong opened this issue Mar 23, 2020 · 3 comments
Open

./setup.py fails with passlib error #8

jayarmstrong opened this issue Mar 23, 2020 · 3 comments

Comments

@jayarmstrong
Copy link

jayarmstrong commented Mar 23, 2020

I'm not sure if I'm doing this right but after installing the listed dependencies, setup is failing with:

...
  File "src/virtBootstrap/utils.py", line 37, in <module>
    import passlib.hosts
ImportError: No module named passlib.hosts

I installed both python2-passlib & python3-passlib (both 1.7.2-1.3)

OS: Opensuse Tumbleweed

@crobinso
Copy link
Member

python3 -c 'import passlib.hosts works for me on Fedora 32 with passlib 1.7.2 from pip. Can you try python3 -c 'import passlib; print(passlib)' to ensure you aren't pulling passlib module from some old stale path. Are you using python2 or python3?

@cwyc
Copy link

cwyc commented Jul 13, 2020

The same happens to me on nixos 20.03. The python shell successfully imports /nix/store/pzz7lyy6846k09lr75r3r3l6sgkcy0kg-python3.7-passlib-1.7.2/lib/python3.7/site-packages/passlib/__init__.py but running it yields ImportError: No module named passlib.hosts.

@0xD503
Copy link

0xD503 commented Aug 12, 2022

Installation of python-passlib package (through package manager, not from pip) worked for me.

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

4 participants