報錯:
ssh://[email protected]: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