I am trying to use PyCharm Professional 2019.3.1. When I try and set the interpreter for a project to a virtual environment, I get the following error:
Error configuring SDK: Accessing invalid virtual file: file:///homes/mlghomes/jg801/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/193.5662.61/plugins/python/helpers/typeshed; original:257811; found:-; File.exists()=true.
Please make sure that /homes/jg801/ConvNPs/npenv/bin/python is a valid home path for this SDK type.
I'm on Ubuntu. Here are some snapshots of the process:
When I open the Project Interpreter screen, the only existing environment is the basic Python 2.7 one.
I try to add a local Python 3.7 virtual environment that I created fresh for this project.
And I get the following error, which I have been unable to get around.
This happens when I try to use environments that I have used successfully for past projects, or when I try and let PyCharm create a new environment for the project, as shown below:
I have tried uninstalling and reinstalling PyCharm, but this is not fixing the issue.