Forums

passlib ModuleNotFoundError after pip installed

Greetings, I am looking for some assistance in getting my first Flask project up and running. The error log indicates: Error running WSGI application ModuleNotFoundError: No module named 'passlib'

However I have already pip installed the module, and pip list confirms passlib 1.7.1. At the moment I am not using virtualenv. Python version 3.6. Any assistance would be appreciated.

Found the solution. For future reference:

pip<python version> install --user <package name>

Thus: pip3.6 install --user passlib was the answer as opposed to plain pip.

OK, glad you worked it out! Here's the relevant documentation.