No module named sys

Answered

After creating Django project, 'No module named sys' error message is displayed in manage.py file. But Django works well anyway.

How can I solve this?

3 comments
Comment actions Permalink

Hi,

Please try File | Invalidate Caches / Restart.., wait for indexing to finish, then see if the problem remains.

If the issue persists, let me know your Python version and provide a list of installed packages.

0
Comment actions Permalink

Hi Sergey Karpov, I am having the same problem. I am using python3.7, Also I installed other libraries like Matplolib using pip. But intellij is still asking me to install Matplotlib, I installed matplotlib using intellij but Im still getting the same errors, attached is the screenshot. When I type: pip list: I see that Matplotlib and Numpy are both installed, how can I import those libraries 

 

0
Comment actions Permalink

Do you see the same packages when you look at package list in the interpreter settings? Make sure you've installed packages for the correct interpreter/environment and do File > Invalidate caches/restart

0

Please sign in to leave a comment.