-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Hi,
Using pip 25.0.1, python 3.13. With command pip install --upgrade gensim, I get the following output. Any help would be most appreciated!
C:\Windows\System32>pip install --upgrade gensim
Collecting gensim
Downloading gensim-4.3.3.tar.gz (23.3 MB)
---------------------------------------- 23.3/23.3 MB 32.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting numpy<2.0,>=1.18.5 (from gensim)
Downloading numpy-1.26.4.tar.gz (15.8 MB)
---------------------------------------- 15.8/15.8 MB 29.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting scipy<1.14.0,>=1.7.0 (from gensim)
Downloading scipy-1.13.1.tar.gz (57.2 MB)
---------------------------------------- 57.2/57.2 MB 33.6 MB/s eta 0:00:00
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
╰─> [47 lines of output]
+ meson setup C:\Users\billr\AppData\Local\Temp\pip-install-7wcj52o3\scipy_5a10a998bd774de791af8d9557cb87d6 C:\Users\billr\AppData\Local\Temp\pip-install-7wcj52o3\scipy_5a10a998bd774de791af8d9557cb87d6.mesonpy-ral0yq9o -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\billr\AppData\Local\Temp\pip-install-7wcj52o3\scipy_5a10a998bd774de791af8d9557cb87d6.mesonpy-ral0yq9o\meson-python-native-file.ini
The Meson build system
Version: 1.7.2
Source dir: C:\Users\billr\AppData\Local\Temp\pip-install-7wcj52o3\scipy_5a10a998bd774de791af8d9557cb87d6
Build dir: C:\Users\billr\AppData\Local\Temp\pip-install-7wcj52o3\scipy_5a10a998bd774de791af8d9557cb87d6.mesonpy-ral0yq9o
Build type: native build
Project name: scipy
Project version: 1.13.1
Activating VS 17.13.5
C compiler for the host machine: cl (msvc 19.43.34809 "Microsoft (R) C/C++ Optimizing Compiler Version 19.43.34809 for x64")
C linker for the host machine: link link 14.43.34809.0
C++ compiler for the host machine: cl (msvc 19.43.34809 "Microsoft (R) C/C++ Optimizing Compiler Version 19.43.34809 for x64")
C++ linker for the host machine: link link 14.43.34809.0
Cython compiler for the host machine: cython (cython 3.0.12)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (C:\Users\billr\AppData\Local\Programs\Python\Python313\python.exe)
Run-time dependency python found: YES 3.13
Program cython found: YES (C:\Users\billr\AppData\Local\Temp\pip-build-env-321zo9fb\overlay\Scripts\cython.EXE)
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
Compiler for C supports arguments -Wno-unused-function: NO
Compiler for C supports arguments -Wno-conversion: NO
Compiler for C supports arguments -Wno-misleading-indentation: NO
Library m found: NO
..\meson.build:78:0: ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang-new'], ['flang'], ['pgfortran'], ['g95']]
The following exception(s) were encountered:
Running `ifort --help` gave "[WinError 2] The system cannot find the file specified"
Running `ifort --version` gave "[WinError 2] The system cannot find the file specified"
Running `ifort -V` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran --help` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran --version` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran -V` gave "[WinError 2] The system cannot find the file specified"
Running `flang-new --help` gave "[WinError 2] The system cannot find the file specified"
Running `flang-new --version` gave "[WinError 2] The system cannot find the file specified"
Running `flang-new -V` gave "[WinError 2] The system cannot find the file specified"
Running `flang --help` gave "[WinError 2] The system cannot find the file specified"
Running `flang --version` gave "[WinError 2] The system cannot find the file specified"
Running `flang -V` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran --help` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran --version` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran -V` gave "[WinError 2] The system cannot find the file specified"
Running `g95 --help` gave "[WinError 2] The system cannot find the file specified"
Running `g95 --version` gave "[WinError 2] The system cannot find the file specified"
Running `g95 -V` gave "[WinError 2] The system cannot find the file specified"
A full log can be found at C:\Users\billr\AppData\Local\Temp\pip-install-7wcj52o3\scipy_5a10a998bd774de791af8d9557cb87d6\.mesonpy-ral0yq9o\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.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.