'Pycharm Error running 'test': can't run remote python interpreter: {0}
When I want to use remote python interpreter to debug my code, but an error appeared: Error running 'test': Can't run remote python interpreter: {0}. But I could directly run this code with remote python interpreter. I try to use command 'which python' and 'which python3' to get the different interpreter, but appeared the same error.
Anybody could help me to solve this problem? It's my first time to Debug code remotely with Pycharm. Thank you.
Environment: CentOS.
Python Environment: /home/jumpserver/miniconda3/envs/vec/bin/python3. (get the directory using command: 'which python3').
Solution 1:[1]
After testing several methods, I finally solved this problem. I clear all the remote interpreter in Pycharm, then restart Pycharm. After secondly adding the remote python interpreter, the debug works normally.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Wenjie Ai |
