Search code examples
pythonflaskpythonanywhererauth

Import Error in PythonAnywhere


I am using the rauth library in my Flask app. The error log shows the error

ImportError: No module named rauth. 

How to deal with this problem.


Solution

  • According to the documentation of PythonAnywhere on how to install custom packages, you have to instruct pip to install into your home directory:

    pip install --user rauth