【编译器】PyCharm调试上报"系统找不到指定的文件"解决方法

#问题现象:
现象
##问题场景
.py或工程从其他电脑拷贝过来

##解决方法
1.workspace文件下修改SDK_HOME目录为当前python.exe目录
2.删除工程目.idea配置文件,重新关闭后再打开pycharm,加载工程

参考:
环境变量配置
C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32
查看系统变量

import sys
sys.path
[’’, ‘E:\SoftPlugIn\Python3.7\python37.zip’, ‘E:\SoftPlugIn\Python3.7\DLLs’, ‘E:\SoftPlugIn\Python3.7\lib’, ‘E:\SoftPlugIn\Python3.7’, ‘E:\SoftPlugIn\Python3.7\lib\site-packages’, ‘E:\SoftPlugIn\Python3.7\lib\site-packages\chartdirector’]


版权声明:本文为weixin_43904134原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。