Forums

ImportError: No module named 'passlib'

I have run pip install --user passlib on bash which sucessfully installed but when i run my file i get the above error.

Traceback (most recent call last): File "", line 2, in <module> from passlib.hash import sha256_crypt ImportError: No module named 'passlib'

finally found out for python 3.5 you need to use "pip3.5 install --user packagename"

Glad you figured it out!