Pycharm远程调试踩坑:[Errno 2] No such file or directory Process finished with exit code 2
生活随笔
收集整理的這篇文章主要介紹了
Pycharm远程调试踩坑:[Errno 2] No such file or directory Process finished with exit code 2
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Pycharm遠程調試踩坑:[Errno 2] No such file or directory Process finished with exit code 2
在用Pycharm遠程調試腳本時報了如下錯誤:
/opt/anaconda3/bin/python3.8: can't open file '<3b7519cf-9f5a-4ad9-b9e2-8007df88c6c3>/home/.../pipelines/slicedeal.py': [Errno 2] No such file or directoryProcess finished with exit code 2在原本的腳本名
/home/.../pipelines/slicedeal.py前多出了一串不明字符串。
后來經過反復檢驗,發現是自己運行的是遠程服務器上的腳本。改在本地運行該腳本就解決了。
總結
以上是生活随笔為你收集整理的Pycharm远程调试踩坑:[Errno 2] No such file or directory Process finished with exit code 2的全部內容,希望文章能夠幫你解決所遇到的問題。