【问题标题】:I am trying to run and existing code but when I try to run the code the error shows "No module named fetch"我正在尝试运行现有代码,但是当我尝试运行代码时,错误显示“没有名为 fetch 的模块”
【发布时间】:2021-01-18 02:58:54
【问题描述】:

ERROR: Command errored out with exit status 1: python setup.py egg_info 检查日志以获取完整的命令输出。`

尝试使用 pip install fetch 安装 fetch 但出现如下图所示的错误

【问题讨论】:

  • 请将代码和错误以纯文本形式发布。以图片形式发布让我们更难提供帮助。
  • 你可以尝试运行:pip install -U setuptools

标签: python visual-studio-code fetch


【解决方案1】:

该程序似乎是用 Python file() 是 Python 3 不支持的函数。

【讨论】:

  • 我应该降级我的python版本还是有其他方法可以使用获取模块
  • 我认为如果你降级你的 Python 版本它应该可以工作。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2020-10-12
  • 2014-05-13
  • 2019-01-26
  • 2021-12-24
  • 2021-09-21
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多