We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
执行 pip install -e . 报错如下:
Obtaining file:///F:/code/Valley-main Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Installing backend dependencies ... done Preparing editable metadata (pyproject.toml) ... done Collecting transformers@ git+https://github.com/huggingface/transformers.git@cae78c46 (from valley==0.1.0) Cloning https://github.com/huggingface/transformers.git (to revision cae78c46) to c:\users\lenovo\appdata\local\temp\pip-install-65d2dap2\transformers_367533cc333b472298e3b012c4de1e0a Running command git clone --filter=blob:none --quiet https://github.com/huggingface/transformers.git 'C:\Users\lenovo\AppData\Local\Temp\pip-install-65d2dap2\transformers_367533cc333b472298e3b012c4de1e0a' WARNING: Did not find branch or tag 'cae78c46', assuming revision or ref. Running command git checkout -q cae78c46 Resolved https://github.com/huggingface/transformers.git to commit cae78c46 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting accelerate (from valley==0.1.0) Using cached accelerate-0.29.3-py3-none-any.whl.metadata (18 kB) Collecting einops (from valley==0.1.0) Using cached einops-0.7.0-py3-none-any.whl.metadata (13 kB) Collecting fastapi (from valley==0.1.0) Using cached fastapi-0.110.2-py3-none-any.whl.metadata (24 kB) Collecting gradio==3.23 (from valley==0.1.0) Using cached gradio-3.23.0-py3-none-any.whl.metadata (14 kB) Collecting markdown2[all] (from valley==0.1.0) Using cached markdown2-2.4.13-py2.py3-none-any.whl.metadata (2.0 kB) Requirement already satisfied: numpy in d:\anaconda\envs\valley\lib\site-packages (from valley==0.1.0) (1.26.4) Requirement already satisfied: requests in d:\anaconda\envs\valley\lib\site-packages (from valley==0.1.0) (2.31.0) Requirement already satisfied: sentencepiece in d:\anaconda\envs\valley\lib\site-packages (from valley==0.1.0) (0.1.99) Collecting tokenizers==0.12.1 (from valley==0.1.0) Using cached tokenizers-0.12.1-cp310-cp310-win_amd64.whl.metadata (6.5 kB) Requirement already satisfied: torch in d:\anaconda\envs\valley\lib\site-packages (from valley==0.1.0) (2.2.2) Requirement already satisfied: torchvision in d:\anaconda\envs\valley\lib\site-packages (from valley==0.1.0) (0.17.2) Collecting uvicorn (from valley==0.1.0) Using cached uvicorn-0.29.0-py3-none-any.whl.metadata (6.3 kB) Collecting ninja (from valley==0.1.0) Using cached ninja-1.11.1.1-py2.py3-none-win_amd64.whl.metadata (5.4 kB) Requirement already satisfied: decord in d:\anaconda\envs\valley\lib\site-packages (from valley==0.1.0) (0.6.0) Requirement already satisfied: scikit-image in d:\anaconda\envs\valley\lib\site-packages (from valley==0.1.0) (0.23.2) Collecting opencv-python-headless (from valley==0.1.0) Using cached opencv_python_headless-4.9.0.80-cp37-abi3-win_amd64.whl.metadata (20 kB) Collecting peft (from valley==0.1.0) Using cached peft-0.10.0-py3-none-any.whl.metadata (13 kB) Collecting deepspeed (from valley==0.1.0) Using cached deepspeed-0.14.1.tar.gz (1.3 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [12 lines of output] fatal: not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "C:\Users\lenovo\AppData\Local\Temp\pip-install-65d2dap2\deepspeed_39dae13ffc9746af98eb1f62a7c221c8\setup.py", line 222, in <module> create_dir_symlink('..\\..\\csrc', '.\\deepspeed\\ops\\csrc') File "C:\Users\lenovo\AppData\Local\Temp\pip-install-65d2dap2\deepspeed_39dae13ffc9746af98eb1f62a7c221c8\setup.py", line 214, in create_dir_symlink os.remove(dest) PermissionError: [WinError 5] 拒绝访问。: '.\\deepspeed\\ops\\csrc' [WARNING] Torch did not find cuda available, if cross-compiling or running with cpu only you can ignore this message. Adding compute capability for Pascal, Volta, and Turing (compute capabilities 6.0, 6.1, 6.2) DS_BUILD_OPS=1 Install Ops={'deepspeed_not_implemented': 1, 'deepspeed_ccl_comm': 1, 'cpu_adam': 1, 'fused_adam': 1} [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
请问这个应该如何解决!谢谢!!!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
执行 pip install -e .
报错如下:
请问这个应该如何解决!谢谢!!!
The text was updated successfully, but these errors were encountered: