![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
楠风丶北枝
xs
展开
-
发生异常: AttributeError partially initialized module ‘unittest‘ has no attribute ‘TestCase‘ (most likel
File “D:\VSObject\二\unittest.py”, line 4, in。File “D:\VSObject\二\unittest.py”, line 1, in。发生异常: AttributeError。文件名不可以是unittest.py。原创 2023-02-14 12:49:11 · 643 阅读 · 0 评论 -
Import “requests“ could not be resolved from sourcePylancereportMissingModuleSource
再输入cmd进入命令行,然后输入pip install requests即可。出现错误的原因是程序找不到requests包,我们需要win+R。还可以通过pip list来查看自己电脑里已安装的包。原创 2023-01-16 16:17:59 · 810 阅读 · 0 评论 -
VSCode运行Python程序
VSCode运行python原创 2023-01-16 10:36:07 · 1014 阅读 · 0 评论 -
python安装
python最新版安装环境原创 2023-01-16 09:59:35 · 77 阅读 · 0 评论