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 directory
Process finished with exit code 2
在原本的脚本名
/home/.../pipelines/slicedeal.py
前多出了一串不明字符串。
后来经过反复检验,发现是自己运行的是远程服务器上的脚本。改在本地运行该脚本就解决了。