IuvenisSapiens / ComfyUI_Qwen2-VL-Instruct

The successful integration of Qwen2-VL-Instruct into the ComfyUI platform has enabled a smooth operation, supporting (but not limited to) text-based queries, video queries, single-image queries, and multi-image queries for generating captions or responses.
Apache License 2.0
68 stars 8 forks source link

dependency installation failed #3

Open zhaoqi571436204 opened 2 months ago

zhaoqi571436204 commented 2 months ago

Looking in indexes: https://pypi.doubanio.com/simple, https://pypi.oystermercury.top/ms
Looking in links: https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html
Collecting git+https://github.com/huggingface/transformers (from -r D:\AI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_Qwen2-VL-Instruct\requirements.txt (line 14))
Cloning https://github.com/huggingface/transformers to c:\users\zhaoqi\appdata\local\temp\pip-req-build-9b06oyhy
Running command git clone --filter=blob:none --quiet https://github.com/huggingface/transformers 'C:\Users\zhaoqi\AppData\Local\Temp\pip-req-build-9b06oyhy'
fatal: unable to access 'http://github.com/huggingface/transformers/': The requested URL returned error: 403
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/huggingface/transformers 'C:\Users\zhaoqi\AppData\Local\Temp\pip-req-build-9b06oyhy' did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/huggingface/transformers 'C:\Users\zhaoqi\AppData\Local\Temp\pip-req-build-9b06oyhy' did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.


[程序异常退出,退出代码为 1 (0x00000001)]

IuvenisSapiens commented 2 months ago

You can install the transformers package by downloading a ZIP file, and then follow these steps:

  1. Access the GitHub Repository: Open your browser and visit the Hugging Face transformers repository page.

  2. Download ZIP: On the repository page, click the green Code button, then select Download ZIP from the dropdown menu. This will download the latest version of the repository as a ZIP file.

  3. Unzip the File: Extract the downloaded ZIP file into a folder of your choice.

  4. Open Command Line: Once the file is unzipped, open a command line tool (CMD or PowerShell on Windows, Terminal on macOS or Linux).

  5. Navigate to the Folder: Use the cd command to navigate to the directory where the files were extracted. For example, if the folder is on your desktop, you can use the following command:

    cd ~/Desktop/transformers  # Replace with your actual folder path
  6. Install the Package: Inside this folder, run the following command to install the package:

    pip install .

    This command will install the Python package as defined in the setup.py or pyproject.toml (for newer Python packaging methods) located in the root directory of the ZIP file.