运行pip list,发现这个module已经有了。


命令行里直接敲import requests,却还是报No module named requests.


最后,发现机器上装了Python 2,和Python 3.

卸掉Python 2,好了。

相关文章:

  • 2022-02-19
  • 2021-07-04
  • 2021-09-29
  • 2022-12-23
  • 2022-01-04
  • 2021-10-27
  • 2021-10-16
猜你喜欢
  • 2021-11-21
  • 2021-10-23
  • 2022-01-01
  • 2018-10-27
  • 2021-04-10
  • 2022-12-23
相关资源
相似解决方案