Import error for installed package using WSL interpreter

I'm using the Python 3.8 WSL interpreter to develop under Windows 10 with a Ubuntu20.04 WSL.

I have set up the interpreter in PyCharm and it correctly shows the installed packages.

However, the import is not recognized:

Still, the interpreter seems to be configured correctly, as I can run the file without problems; only the imports don't get resolved and I can't jump to the declarations.

1 comment
Comment actions Permalink

Hi, is the issue with this specific package, or does it happen for all packages? Please try **File | Invalidate Caches / Restart... | Invalidate and Restart**. 

If this does not help, could you please upload logs to and provide the file id? 

You can get logs from **Help | Collect Logs and Diagnostic Data**


Please sign in to leave a comment.