版本如下:
deepin20.9,
python3.10,
vs code 1.79.2
如果使用vs code 调试pyside6代码时出现:
ModuleNotFoundError: No module named 'xxx' 错误,
可以这样解决:
在python设置的Default Interpreter Path中加上”python3.10”,
如果找到了,就不用往下看了!找不到的(像我这种小白刚开始真找不到)往下看,
具体方法如下:
管理(左下角)--设置--扩展下面找到python--右侧面板找到Default Interpreter Path,将下面的值改为python3.10
自己记录下!如果能帮上你,那是我的荣幸!
大佬教学!
纯小白,都是自己遇到的问题,找了很多地方才,费了很多事,才找到解决办法,记录下。感谢支持!
Popular Ranking
Popular Events
版本如下:
deepin20.9,
python3.10,
vs code 1.79.2
如果使用vs code 调试pyside6代码时出现:
ModuleNotFoundError: No module named 'xxx' 错误,
可以这样解决:
在python设置的Default Interpreter Path中加上”python3.10”,
如果找到了,就不用往下看了!找不到的(像我这种小白刚开始真找不到)往下看,
具体方法如下:
管理(左下角)--设置--扩展下面找到python--右侧面板找到Default Interpreter Path,将下面的值改为python3.10
自己记录下!如果能帮上你,那是我的荣幸!