'UV -Synchronisation', um das Python -Paket zu installieren, aber sagen Sie mir, Compile -Befehl nicht zu finden?Python

Python-Programme
Guest
 'UV -Synchronisation', um das Python -Paket zu installieren, aber sagen Sie mir, Compile -Befehl nicht zu finden?

Post by Guest »

Ich verwende 'UV-Synchronisation', um das Python-Paket zu installieren, aber sagen Sie mir, dass der Befehl nicht findet.

Code: Select all

(deepdevflow) sant-s15-000537:~/deepdevflow # uv sync
Resolved 184 packages in 1ms
Built deepdevflow @ file:///root/deepdevflow
× Failed to build `preshed==3.0.9`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta.build_wheel` failed (exit status: 1)

[stdout]
running bdist_wheel
running build
running build_py
copying preshed/about.py -> build/lib.linux-x86_64-cpython-313/preshed
copying preshed/__init__.py -> build/lib.linux-x86_64-cpython-313/preshed
copying preshed/tests/test_pop.py -> build/lib.linux-x86_64-cpython-313/preshed/tests
copying preshed/tests/test_hashing.py -> build/lib.linux-x86_64-cpython-313/preshed/tests
copying preshed/tests/__init__.py -> build/lib.linux-x86_64-cpython-313/preshed/tests
copying preshed/tests/test_bloom.py -> build/lib.linux-x86_64-cpython-313/preshed/tests
copying preshed/tests/test_counter.py -> build/lib.linux-x86_64-cpython-313/preshed/tests
copying preshed/maps.pyx -> build/lib.linux-x86_64-cpython-313/preshed
copying preshed/bloom.pyx -> build/lib.linux-x86_64-cpython-313/preshed
copying preshed/counter.pyx -> build/lib.linux-x86_64-cpython-313/preshed
copying preshed/__init__.pxd -> build/lib.linux-x86_64-cpython-313/preshed
copying preshed/bloom.pxd -> build/lib.linux-x86_64-cpython-313/preshed
copying preshed/maps.pxd -> build/lib.linux-x86_64-cpython-313/preshed
copying preshed/counter.pxd -> build/lib.linux-x86_64-cpython-313/preshed
running build_ext
building 'preshed.maps' extension
c++ -pthread -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -fPIC -fPIC -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-gnu/include/python3.13
-I/root/.cache/uv/builds-v0/.tmpGb7jTc/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-gnu/include/python3.13 -c preshed/maps.cpp -o build/temp.linux-x86_64-cpython-313/preshed/maps.o -O3
-Wno-strict-prototypes -Wno-unused-function

[stderr]
/root/.cache/uv/builds-v0/.tmpGb7jTc/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:

License :: OSI Approved :: MIT License

See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************

!!
self._finalize_license_expression()
error: command 'c++' failed: Not a directory

hint: This usually indicates a [url=viewtopic.php?t=26065]problem[/url] with the package or the build environment.
help: `preshed` (v3.0.9) was included because `deepdevflow` (v0.1.0) depends on `spacy` (v3.8.5) which depends on `preshed`
< /code>
pyproject.toml
:

Code: Select all

dependencies = [
"gradio>=4.13.0",
"langchain>=0.1.0",
"langchain-core>=0.1.0",
"langchain-community>=0.0.13",
"langgraph>=0.0.25",
"langchain-experimental>=0.0.36",
"langchain_ollama>=0.0.1",
"fastapi>=0.110.0",
"uvicorn>=0.27.0",
"pydantic>=2.5.0",
"atlassian-python-api>=3.41.1",
"python-jenkins>=1.8.0",
"requests>=2.31.0",
"spacy>=3.7.0",
"openai>=1.12.0",
"paramiko>=3.5.1",
"ipython>=8.18.1",
"gradio-log>=0.0.8",
"build>=1.2.2.post1",
"pip>=25.1",
]

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post