ОШИБКА: Не удалось собрать колеса для couchbase, которые используют PEP 517 и не могут быть установлены напрямую
Я следую документации по couchbase и попытался установить python SDK и получаю вышеуказанную ошибку.
sudo -H python3 -m pip install couchbase
Я использую pipenv для моей виртуальной среды.
Журнал ошибок
ERROR: Failed building wheel for couchbase
Failed to build couchbase
ERROR: Could not build wheels for couchbase, which is required to install pyproject.toml-based projects
Exception information:
Traceback (most recent call last):
File "/Users/kapilraj/.local/share/virtualenvs/customer-backend-XMYO8NLG/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 164, in exc_logging_wrapper
status = run_func(*args)
File "/Users/kapilraj/.local/share/virtualenvs/customer-backend-XMYO8NLG/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 204, in wrapper
return func(self, options, args)
File "/Users/kapilraj/.local/share/virtualenvs/customer-backend-XMYO8NLG/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 374, in run
raise InstallationError(
pip._internal.exceptions.InstallationError: Could not build wheels for couchbase, which is required to install pyproject.toml-based projects
Find the library you want on this site https://www.lfd.uci.edu/~gohlke/pythonlibs/
and download it, after downloading the library,
copy it to the following path "C:\Program Files\Python310"
and then open CMD and type "pip install filename.whl"