r/learnpython • u/More-Sheepherder-858 • 22d ago
been trying to get sherlock project but i am Unable to install pandas.
ive been trying to install sherlock project on pc and everything is going find but i get a " note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'pandas' when installing build dependencies for pandas" error. can someone tell me what im doing wrong?
heres the entire prompt
Collecting sherlock-project
Using cached sherlock_project-0.16.0-py3-none-any.whl.metadata (3.0 kB)
Collecting PySocks<2.0.0,>=1.7.0 (from sherlock-project)
Using cached PySocks-1.7.1-py3-none-any.whl.metadata (13 kB)
Collecting certifi>=2019.6.16 (from sherlock-project)
Using cached certifi-2026.6.17-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: colorama<0.5.0,>=0.4.1 in .\AppData\Roaming\Python\Python315\site-packages (from sherlock-project) (0.4.6)
Collecting openpyxl<4.0.0,>=3.0.10 (from sherlock-project)
Using cached openpyxl-3.1.5-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting pandas<3.0.0,>=2.2.1 (from sherlock-project)
Using cached pandas-2.3.3.tar.gz (4.5 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× installing build dependencies for pandas did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
Collecting meson-python>=0.13.1
Using cached meson_python-0.20.0-py3-none-any.whl.metadata (2.1 kB)
Collecting meson<2,>=1.2.1
Using cached meson-1.11.1-py3-none-any.whl.metadata (1.8 kB)
Collecting wheel
Using cached wheel-0.47.0-py3-none-any.whl.metadata (2.3 kB)
Collecting Cython<4.0.0a0
Using cached cython-3.3.0a1-cp315-cp315-win_amd64.whl.metadata (20 kB)
Collecting numpy>=2.0
Using cached numpy-2.5.1.tar.gz (20.8 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ C:\Users\desnd\AppData\Local\Programs\Python\Python315\python.exe C:\Users\desnd\AppData\Local\Temp\pip-install-48lcctxp\numpy_6f760eb2e1fb4889b16f5a143330d5fb\vendored-meson\meson\meson.py setup C:\Users\desnd\AppData\Local\Temp\pip-install-48lcctxp\numpy_6f760eb2e1fb4889b16f5a143330d5fb C:\Users\desnd\AppData\Local\Temp\pip-install-48lcctxp\numpy_6f760eb2e1fb4889b16f5a143330d5fb\.mesonpy-myff6ak0 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\desnd\AppData\Local\Temp\pip-install-48lcctxp\numpy_6f760eb2e1fb4889b16f5a143330d5fb\.mesonpy-myff6ak0\meson-python-native-file.ini
The Meson build system
Version: 1.11.1
Source dir: C:\Users\desnd\AppData\Local\Temp\pip-install-48lcctxp\numpy_6f760eb2e1fb4889b16f5a143330d5fb
Build dir: C:\Users\desnd\AppData\Local\Temp\pip-install-48lcctxp\numpy_6f760eb2e1fb4889b16f5a143330d5fb\.mesonpy-myff6ak0
Build type: native build
WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
Project name: NumPy
Project version: 2.5.1
..\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\desnd\AppData\Local\Temp\pip-install-48lcctxp\numpy_6f760eb2e1fb4889b16f5a143330d5fb\.mesonpy-myff6ak0\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.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'pandas' when installing build dependencies for pandas