Skip to content

Error while executing "pip install -r requirements.txt", even after updating requirements.txt as mentioned #95

Description

@vivekbobbili9

PS C:\Users\SRIKANTH\spotify2mp3> pip install -r requirements.txt
Requirement already satisfied: beautifulsoup4>=4.12.0 in C:\Users\SRIKANTH\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages (from -r requirements.txt (line 1)) (4.15.0)
Collecting lxml>=5.0.0 (from -r requirements.txt (line 2))
Downloading lxml-6.1.1-cp314-cp314-win_amd64.whl.metadata (3.6 kB)
Requirement already satisfied: requests>=2.31.0 in C:\Users\SRIKANTH\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages (from -r requirements.txt (line 3)) (2.34.2)
Collecting eyed3>=0.9.7 (from -r requirements.txt (line 6))
Downloading eyed3-0.9.9-py3-none-any.whl.metadata (6.2 kB)
Collecting moviepy>=1.0.3 (from -r requirements.txt (line 7))
Downloading moviepy-2.2.1-py3-none-any.whl.metadata (6.9 kB)
Collecting imageio>=2.34.0 (from -r requirements.txt (line 8))
Downloading imageio-2.37.4-py3-none-any.whl.metadata (9.6 kB)
Collecting imageio-ffmpeg>=0.5.1 (from -r requirements.txt (line 9))
Downloading imageio_ffmpeg-0.6.0-py3-none-win_amd64.whl.metadata (1.5 kB)
Collecting proglog>=0.1.10 (from -r requirements.txt (line 10))
Downloading proglog-0.1.12-py3-none-any.whl.metadata (794 bytes)
Collecting numpy<2.0.0,>=1.24.0 (from -r requirements.txt (line 13))
Downloading numpy-1.26.4.tar.gz (15.8 MB)
---------------------------------------- 15.8/15.8 MB 11.0 MB/s 0:00:01
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]
+ C:\Users\SRIKANTH\AppData\Local\Python\pythoncore-3.14-64\python.exe C:\Users\SRIKANTH\AppData\Local\Temp\pip-install-sxos7jhc\numpy_714b40d9cc78411b84b6fd9c6bc15a9b\vendored-meson\meson\meson.py setup C:\Users\SRIKANTH\AppData\Local\Temp\pip-install-sxos7jhc\numpy_714b40d9cc78411b84b6fd9c6bc15a9b C:\Users\SRIKANTH\AppData\Local\Temp\pip-install-sxos7jhc\numpy_714b40d9cc78411b84b6fd9c6bc15a9b.mesonpy-tpghv3q4 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\SRIKANTH\AppData\Local\Temp\pip-install-sxos7jhc\numpy_714b40d9cc78411b84b6fd9c6bc15a9b.mesonpy-tpghv3q4\meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: C:\Users\SRIKANTH\AppData\Local\Temp\pip-install-sxos7jhc\numpy_714b40d9cc78411b84b6fd9c6bc15a9b
Build dir: C:\Users\SRIKANTH\AppData\Local\Temp\pip-install-sxos7jhc\numpy_714b40d9cc78411b84b6fd9c6bc15a9b.mesonpy-tpghv3q4
Build type: native build
Project name: NumPy
Project version: 1.26.4
WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

  ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
  The following exception(s) were encountered:
  Running `icl ""` gave "[WinError 2] The system cannot find the file specified"
  Running `cl /?` gave "[WinError 2] The system cannot find the file specified"
  Running `cc --version` gave "[WinError 2] The system cannot find the file specified"
  Running `gcc --version` gave "[WinError 2] The system cannot find the file specified"
  Running `clang --version` gave "[WinError 2] The system cannot find the file specified"
  Running `clang-cl /?` gave "[WinError 2] The system cannot find the file specified"
  Running `pgcc --version` gave "[WinError 2] The system cannot find the file specified"

  A full log can be found at C:\Users\SRIKANTH\AppData\Local\Temp\pip-install-sxos7jhc\numpy_714b40d9cc78411b84b6fd9c6bc15a9b\.mesonpy-tpghv3q4\meson-logs\meson-log.txt
  [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.
╰─> numpy

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
PS C:\Users\SRIKANTH\spotify2mp3>

PS C:\Users\SRIKANTH\spotify2mp3> python spotify2mp3.py
Traceback (most recent call last):
File "C:\Users\SRIKANTH\spotify2mp3\spotify2mp3.py", line 10, in
from apis.spotify import Spotify
File "C:\Users\SRIKANTH\spotify2mp3\apis\spotify.py", line 6, in
import login
File "C:\Users\SRIKANTH\spotify2mp3\login.py", line 3, in
import tekore as tk
ModuleNotFoundError: No module named 'tekore'
PS C:\Users\SRIKANTH\spotify2mp3>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions