", line 971, in _find_and_load File "", line 953, in ..._current thread 0x00002590 (most recent call first): file "">
当前位置:   article > 正文

Python 运行报错 ModuleNotFoundError: No module named 'requests'_current thread 0x00002590 (most recent call first)

current thread 0x00002590 (most recent call first): file "

运行python程序,如果没有安装对应的模块,就会报如下的错误

Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'requests'
  • 1
  • 2
  • 3
  • 4
解决方法
pip install requests
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Guff_9hys/article/detail/849559
推荐阅读
相关标签