三木

三木

一名正在黑化的INFP

Python安装openai报错解决方法

系统环境

Windows 11
Python3.7.1

执行命令

pip install openai

错误信息:

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for yarl
Failed to build aiohttp frozenlist multidict yarl
ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects

解决方案

pip install openai --only-binary multidict --only-binary aiohttp

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.