python Bug合集
Python bug合集
- Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
- 导入包问题
- Debug | ‘wget‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件
1. Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
装tensorflow时
输入:
pip install -U --ignore-installed wrapt enum34 simplejson netaddr
再安装就好啦
(参考:https://blog.csdn.net/weixin\_43485035/article/details/113788615)
2. 导入包问题
出错时,框住的地方会有虚线,提示找不到这些包,发现这些包都是自己定义的,不是公共的库,后来发现是打开工程文件的时候,路径不对,所以自己定义的搜索不到。把当前工程修改为根目录就好了
右键工程文件,然后设置为根目录
3. Debug | ‘wget‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件
https://blog.csdn.net/weixin\_43360896/article/details/111910872
还没有评论,来说两句吧...