英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论