aiohttp 在安装 openai 包时未被检测到。

huangapple go评论86阅读模式
英文:

aiohttp not getting detected when installing openai package

问题

我已经安装了aiohttp。我在Ubuntu Linux上。当我尝试安装这个包时,出现了这个错误。我做错了什么?有人可以帮助我吗?

错误信息提示缺少名为'aiohttp'的模块。这可能是因为您需要安装'aiohttp'模块。您可以使用以下命令来安装它:

pip install aiohttp

一旦安装完成,您可以再次尝试安装您想要的包。

英文:

I have aiohttp installed already. Im on ubuntu linux. When I try to install the package this error pops up. what am i doing wrong? can anyone help me?

      l8d3ydhd/openai_1e37ea26d6f14dd187db87c3e373f465/openai/api_requestor.py", line 21, in <module>
          import aiohttp
      ModuleNotFoundError: No module named 'aiohttp'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

答案1

得分: 1

对于有相同问题的任何人,只需更新您的pip。不知道为什么它过时了。

英文:

for anyone that has the same problem, just update your pip. idk why it was outdated.

huangapple
  • 本文由 发表于 2023年2月23日 20:06:32
  • 转载请务必保留本文链接:https://go.coder-hub.com/75544615.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定