报错:
ssh://zu@10.37.31.160:22/home/zutnlp/anaconda3/envs/python36/bin/python3.6 -u D:/Projects/github/lightNLP/examples/test1.py
bash: line 0: cd: D:/Projects/github/lightNLP/examples: No such file or directory
/home/zutnlp/anaconda3/envs/python36/bin/python3.6: can't open file 'D:/Projects/github/lightNLP/examples/test1.py': [Errno 2] No such file or directory
Process finished with exit code 2
问题
1.选择正确的选择编译器,协议选择错误,应该选择ssh 协议,却错选了其他的协议。
2.mappings 配置错误,注意是相对路径
结果
发现是第一种错误配置好后,成功如下:
reference:https://stackoverflow.com/questions/47807709/pycharm-not-finding-anaconda-python-giving-cant-open-file-python-errno-2