解决Pycharm运行服务器文件时出现Cannot find remote credentials for target config com.jetbrains.plugins.remotesdk.

解决Pycharm运行服务器文件时出现Cannot find remote credentials for target config com.jetbrains.plugins.remotesdk.target.webDeployment.WebDeploymentTargetEnvironmentConfiguration@1cb1d48

解决Pycharm运行服务器文件时出现 /usr/bin/python3: can’t open file ‘/root/xxx.py’: [Errno 2] No such file or directory

错误类似下面这样

解决方法

取消勾选仅对此项目可见并设置py文件在服务器上的正确路径
解决Pycharm运行服务器文件时出现Cannot find remote credentials for target config com.jetbrains.plugins.remotesdk._第1张图片
解决Pycharm运行服务器文件时出现Cannot find remote credentials for target config com.jetbrains.plugins.remotesdk._第2张图片
设置-工具-SSH配置取消勾选解析配置文件
解决Pycharm运行服务器文件时出现Cannot find remote credentials for target config com.jetbrains.plugins.remotesdk._第3张图片

完美解决!

你可能感兴趣的:(踩坑记,pycharm,python)