三木

三木

我没有热爱这里,我只是出生在这个地方。

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

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。