Forums

no module named passlib

I am beginner in python, I have created virtual environment in my pc, then copy-pasted in pythonanywhere and activated using 'source bin/activate', I have requirements packages in site-packages but still on console it is showing no module named passlib or pymysql. I am using python 3.6 and flask framework.

You cannot copy virtualenvs between machines. You need to make a new one on PythonAnywhere and install the packages you want to use.

Thank you very much. :)