系统环境#
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