Some important things to note when one tries to use a remote interpreter in PyCharm:
- If you are using two instances of PyCharm, e.g. on two differenct machines:
- map the project to a separate folder in the remote disk, the default
/tmp/_______should be fine, but it could be anywhere. - map the
.pycharm_helperfolder to a separate directory too, e.g. for home machine access create a~/.pycharm_helper_hometo map to.
- map the project to a separate folder in the remote disk, the default
- If you are using
condaenvironments, do the following to actually getcondaworking:- suppose you are using an environment called
my_conda_env, find the location of the python executable, e.g. you can do$ conda activate my_conda_env $ which python
- suppose you are using an environment called