Open Rastopapola opened 2 years ago
Hi, when you run inside the flatpak you are accessing the python that is available / installed inside it. In your case python 3.9, it's independant from your system (that's the purpose of flatpak :wink:)
So on my side when i need to run a project both inside and outside pycharm, I create two venv : one called venv
from and for my system, and one called venv-pycharm
from and for pycharm .
An other solution would be to try to use '--copies' instead of the default '--symlinks' when creating the venv (as mentionned here in the doc https://docs.python.org/3/library/venv.html#creating-virtual-environments)
Hi everyone!
I'm using this flatpak package on my main computer and wanted to install the latest version on my laptop as well. Strangely, on the newer version there seems to be an issue with the python3 venvs.
Details
python -V
in the pycharm terminal gives me a 3.9.x versionsource venv/bin/activate
and asking for the python version gives the expected 3.7.x outputpython3 -m venv/
correctly creates the python3.7 venv, but adding this venv to pycharm's environment list results in an error message about having a misconfigured SDK. However the messages can be skipped and pycharm still acts as the venv would be a python3.9 venv, which it's obviously notCould this be related to the freedesktop.sdk project, which is a dependency of this pycharm package?