#问题现象:
##问题场景
.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’]