Forums

Module not found error

I'm getting module not found error everytime i install packages and import them... I install pip2.7 install --user phonenumbers also tried pip install --user phonenumbers but I'm getting error. In my views.py when i import phonenumbers please any help!?

what version of python are you running in your webapp?

what version of python are you running in your webapp?

Python 2.7

I'm using python 2.7.17

I also checked in my terminal python --version it's says 2.7.17 ...

Any answer please

Your website is using python 3.8 not 2.7. See the python version on the "Web" configuration page on PythonAnywhere.