-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUILD: Trouble installing pandas on Windows #60947
Comments
This looks like you might be having issues with C in your vscode environment. I had a similar issue where one of my msys package Check a few things:
How to fix it:
By addressing these points, you should be able to resolve the error and successfully install pandas. Hope that helps! References: |
Do you have If this doesn't resolve your issue, can you tell us details about your system: namely what kind of architecture you are on. |
hey rhshadrach, |
For some reason pip is installing the sdist (source distribution) rather than the wheel. I would suggesting trying to download the wheel directly and see why pip is not able to use it. Command: |
This is the return: C:*********>pip install pandas-2.2.3-cp311-cp311-win_amd64.whl |
Ah, I was hopeful there might be a more informative error message. My guess is that you do not have amd64 in that case, which are the only wheels pandas produces for Windows. So you will have to follow what @jvlevinson was saying and try to compile pandas yourself. https://pandas.pydata.org/pandas-docs/dev/development/contributing_environment.html The other option would be to try conda. |
Installation check
Platform
Gerät PRN konnte nicht initialisiert werden.
Installation Method
pip install
pandas Version
2.2.3
Python Version
3.11.9
Installation Logs
Hello everyone,
I am currently trying to install asreview from Uni Utrecht, but there accurs a problem which seems to be related to pandas installation.
As I tried installing pandas the same error occurs. See below:
The installation is to be executed right from Windows command line.
pip install pandas
Defaulting to user installation because normal site-packages is not writeable
Collecting pandas
Using cached pandas-2.2.3.tar.gz (4.4 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
╰─> [12 lines of output]
+ meson setup C:*\AppData\Local\Temp\pip-install-zbkfzy9s\pandas_2ad6fccfe0c843c78cc606c094498a41 C:*\AppData\Local\Temp\pip-install-zbkfzy9s\pandas_2ad6fccfe0c843c78cc606c094498a41.mesonpy-yu7welhd\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:********\AppData\Local\Temp\pip-install-zbkfzy9s\pandas_2ad6fccfe0c843c78cc606c094498a41.mesonpy-yu7welhd\build\meson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: C:*\AppData\Local\Temp\pip-install-zbkfzy9s\pandas_2ad6fccfe0c843c78cc606c094498a41
Build dir: C:***\AppData\Local\Temp\pip-install-zbkfzy9s\pandas_2ad6fccfe0c843c78cc606c094498a41.mesonpy-yu7welhd\build
Build type: native build
Project name: pandas
Project version: 2.2.3
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.
I hope I gathered all infromation you need and to help me.
The text was updated successfully, but these errors were encountered: