You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Installing uvloop (0.21.0): Failed
ChefBuildError
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
Traceback (most recent call last):
File "C:\Users\Ziyi Yang\AppData\Roaming\pypoetry\venv\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 373, in<module>
main()
File "C:\Users\Ziyi Yang\AppData\Roaming\pypoetry\venv\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 357, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ziyi Yang\AppData\Roaming\pypoetry\venv\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 134, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZIYIYA~1\AppData\Local\Temp\tmpn_vqi2rz\.venv\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
returnself._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZIYIYA~1\AppData\Local\Temp\tmpn_vqi2rz\.venv\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "C:\Users\ZIYIYA~1\AppData\Local\Temp\tmpn_vqi2rz\.venv\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 8, in<module>
RuntimeError: uvloop does not support Windows at the moment
at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\poetry\installation\chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error isnotNone:
→ 164│ raise error fromNone165│
166│ return path
167│
168│ def_prepare_sdist(self, archive: Path, destination: Path |None=None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with uvloop (0.21.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "uvloop (==0.21.0)"'.
Required prerequisites
What version of camel are you using?
0.2.16 (git clone from the repo in 2025.01.16)
System information
3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)] win32
0.2.16
Problem description
When running
poetry install
, an error occurs while installingopenai
becauseuvloop
, which is not compatible with Windows, fails to install.Reproducible example code
Command lines:
Steps to reproduce:
Traceback
Expected behavior
No response
Additional context
The
poetry show --tree
├── openai >=1.55.3
│ ├── anyio >=3.5.0,<5
│ │ ├── exceptiongroup >=1.0.2
│ │ ├── idna >=2.8
│ │ ├── sniffio >=1.1
│ │ └── typing-extensions >=4.5
│ ├── distro >=1.7.0,<2
│ ├── httpx >=0.23.0,<1
│ │ ├── anyio * (circular dependency aborted here)
│ │ ├── certifi *
│ │ ├── h2 >=3,<5
│ │ │ ├── hpack >=4.0,<5
│ │ │ └── hyperframe >=6.0,<7
│ │ ├── httpcore ==1.*
│ │ │ ├── certifi * (circular dependency aborted here)
│ │ │ └── h11 >=0.13,<0.15
│ │ ├── idna * (circular dependency aborted here)
│ │ └── sniffio * (circular dependency aborted here)
│ ├── jiter >=0.4.0,<1
│ ├── pydantic >=1.9.0,<3
│ │ ├── annotated-types >=0.6.0
│ │ ├── pydantic-core 2.23.4
│ │ │ └── typing-extensions >=4.6.0,<4.7.0 || >4.7.0 (circular dependency aborted here)
│ │ └── typing-extensions >=4.6.1 (circular dependency aborted here)
│ ├── sniffio * (circular dependency aborted here)
│ ├── tqdm >4
│ │ └── colorama *
│ └── typing-extensions >=4.11,<5 (circular dependency aborted here)
├── pydantic >=2.0.0,<3.0.0
│ ├── annotated-types >=0.6.0
│ ├── pydantic-core 2.23.4
│ │ └── typing-extensions >=4.6.0,<4.7.0 || >4.7.0
│ └── typing-extensions >=4.6.1 (circular dependency aborted here)
├── python-dotenv >=0.2.0
├── tiktoken >=0.7.0
│ ├── regex >=2022.1.18
│ └── requests >=2.26.0
│ ├── certifi >=2017.4.17
│ ├── charset-normalizer >=2,<4
│ ├── idna >=2.5,<4
│ ├── pysocks >=1.5.6,<1.5.7 || >1.5.7
│ └── urllib3 >=1.21.1,<3
│ └── pysocks >=1.5.6,<1.5.7 || >1.5.7,<2.0 (circular dependency aborted here)
├── tokenizers *
│ └── huggingface-hub >=0.16.4,<1.0
│ ├── filelock *
│ ├── fsspec >=2023.5.0
│ │ └── aiohttp <4.0.0a0 || >4.0.0a0,<4.0.0a1 || >4.0.0a1
│ │ ├── aiohappyeyeballs >=2.3.0
│ │ ├── aiosignal >=1.1.2
│ │ │ └── frozenlist >=1.1.0
│ │ ├── async-timeout >=4.0,<6.0
│ │ ├── attrs >=17.3.0
│ │ ├── frozenlist >=1.1.1 (circular dependency aborted here)
│ │ ├── multidict >=4.5,<7.0
│ │ │ └── typing-extensions >=4.1.0
│ │ ├── propcache >=0.2.0
│ │ └── yarl >=1.17.0,<2.0
│ │ ├── idna >=2.0
│ │ ├── multidict >=4.0 (circular dependency aborted here)
│ │ └── propcache >=0.2.0 (circular dependency aborted here)
│ ├── packaging >=20.9
│ ├── pyyaml >=5.1
│ ├── requests *
│ │ ├── certifi >=2017.4.17
│ │ ├── charset-normalizer >=2,<4
│ │ ├── idna >=2.5,<4 (circular dependency aborted here)
│ │ ├── pysocks >=1.5.6,<1.5.7 || >1.5.7
│ │ └── urllib3 >=1.21.1,<3
│ │ └── pysocks >=1.5.6,<1.5.7 || >1.5.7,<2.0 (circular dependency aborted here)
│ ├── tqdm >=4.42.1
│ │ └── colorama *
│ └── typing-extensions >=3.7.4.3 (circular dependency aborted here)
└── uvloop >=0.21.0,<0.22.0
The text was updated successfully, but these errors were encountered: