Skip to content Skip to sidebar Skip to footer

Pycharm Won't Find Pytz

While I'm SURE pytz is installed in my virtualenv, as well as I'm SURE that my PyCharm's project is using the said virtualenv, the IDE is constantly complaining: And when I check

Solution 1:

This is probably because the virtualenv interpreter and interpreter that you've set for your pycharm project are not the same. Check your interpreter:

enter image description here

In my case, PyCharm was able to pick up that pytz is a module:

enter image description here

If the above failed, then try again after deleting the .idea folder in your project directory.

Solution 2:

I had the issue resolved by keeping my virtualenv outside my working project folder. Im not sure why it resolved the issue but it did miraculously.

Post a Comment for "Pycharm Won't Find Pytz"