microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.28k stars 29.31k forks source link

I am not able to install ultralytics #232340

Open arjunrose opened 2 weeks ago

arjunrose commented 2 weeks ago

Type: Feature Request

PS C:\Users\Arjun Rose J S> pip install ultralytics Defaulting to user installation because normal site-packages is not writeable Collecting ultralytics Using cached ultralytics-8.3.23-py3-none-any.whl.metadata (35 kB) Requirement already satisfied: numpy>=1.23.0 in c:\users\arjun rose j s\appdata\roaming\python\python313\site-packages (from ultralytics) (2.1.2) Requirement already satisfied: matplotlib>=3.3.0 in c:\users\arjun rose j s\appdata\roaming\python\python313\site-packages (from ultralytics) (3.9.2) Requirement already satisfied: opencv-python>=4.6.0 in c:\users\arjun rose j s\appdata\roaming\python\python313\site-packages (from ultralytics) (4.10.0.84) Requirement already satisfied: pillow>=7.1.2 in c:\users\arjun rose j s\appdata\roaming\python\python313\site-packages (from ultralytics) (11.0.0) Requirement already satisfied: pyyaml>=5.3.1 in c:\users\arjun rose j s\appdata\roaming\python\python313\site-packages (from ultralytics) (6.0.2) Requirement already satisfied: requests>=2.23.0 in c:\users\arjun rose j s\appdata\roaming\python\python313\site-packages (from ultralytics) (2.32.3) Collecting scipy>=1.4.1 (from ultralytics) Using cached scipy-1.14.1-cp313-cp313-win_amd64.whl.metadata (60 kB) INFO: pip is looking at multiple versions of ultralytics to determine which version is compatible with other requirements. This could take a while. Collecting ultralytics Using cached ultralytics-8.3.22-py3-none-any.whl.metadata (35 kB) Using cached ultralytics-8.3.21-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.20-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.19-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.18-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.17-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.16-py3-none-any.whl.metadata (34 kB) INFO: pip is still looking at multiple versions of ultralytics to determine which version is compatible with other requirements. This could take a while. Using cached ultralytics-8.3.15-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.14-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.13-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.12-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.11-py3-none-any.whl.metadata (34 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. Using cached ultralytics-8.3.10-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.9-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.8-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.7-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.6-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.5-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.4-py3-none-any.whl.metadata (34 kB) Using cached ultralytics-8.3.3-py3-none-any.whl.metadata (34 kB) Collecting numpy<2.0.0,>=1.23.0 (from ultralytics) Using cached numpy-1.26.4.tar.gz (15.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [21 lines of output]

× 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. PS C:\Users\Arjun Rose J S>

VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z) OS version: Windows_NT x64 10.0.22631 Modes:

arjunrose commented 2 weeks ago

Can someone help me please

Vaasu-Goyal commented 4 days ago

I am also facing the same error _