Skip to content Skip to sidebar Skip to footer

Pycharm Can't Resolve References To Pyqt5 Modules

I'm trying to learn how to use PyQT5. I created a new folder under my user profile and spun up a virtualenv (and installed PyQT5 from pip3) in a folder called env. I created the pr

Solution 1:

I got it to work by removing PyQT5 from

Settings > Project > Project Interpreter

and reinstalling it within PyCharm.

Restart PyCharm afterwards.

Solution 2:

I had to go to File --> Invalidate Caches / Restart as well

Solution 3:

In my case i had non-latin symbols in path to python (in AppData). I made new windows user with only-latin name, using it instead of original user fixed the problem.

Solution 4:

setting -> project interpreter -> click setting icon -> add -> new environment -> ( add path) -> check 'inherit global site-packages' and 'make available to all projects' -> click OK

always use same environment or you can use different environment for different projects, just check global packages

Post a Comment for "Pycharm Can't Resolve References To Pyqt5 Modules"