Skip to content

Failed to install pandas BUILD: 2.3.0 Windows #61564

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
1 task done
tanishqv opened this issue Jun 5, 2025 · 5 comments
Closed
1 task done

Failed to install pandas BUILD: 2.3.0 Windows #61564

tanishqv opened this issue Jun 5, 2025 · 5 comments
Labels
Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@tanishqv
Copy link

tanishqv commented Jun 5, 2025

Installation check

Platform

Windows-10-10.0.22631-SP0

Installation Method

pip install

pandas Version

2.3.0

Python Version

3.9.13

Installation Logs

C:\Users\tanishq>python -V Python 3.9.13

C:\Users\tanishq>python -c "import platform; print(platform.platform())"
Windows-10-10.0.22631-SP0

Collecting pandas
Downloading pandas-2.3.0.tar.gz (4.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 4.9 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
╰─> [10 lines of output]
+ meson setup C:\Users\tanishq\AppData\Local\Temp\pip-install-9lil68je\pandas_8d418a38654d41a19bef484e6372f854 C:\Users\tanishq\AppData\Local\Temp\pip-install-9lil68je\pandas_8d418a38654d41a19bef484e6372f854.mesonpy-3s9nxbqg -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\tanishq\AppData\Local\Temp\pip-install-9lil68je\pandas_8d418a38654d41a19bef484e6372f854.mesonpy-3s9nxbqg\meson-python-native-file.ini
The Meson build system
Version: 1.8.1
Source dir: C:\Users\tanishq\AppData\Local\Temp\pip-install-9lil68je\pandas_8d418a38654d41a19bef484e6372f854
Build dir: C:\Users\tanishq\AppData\Local\Temp\pip-install-9lil68je\pandas_8d418a38654d41a19bef484e6372f854.mesonpy-3s9nxbqg
Build type: native build

  ..\meson.build:2:0: ERROR: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

  A full log can be found at C:\Users\tanishq\AppData\Local\Temp\pip-install-9lil68je\pandas_8d418a38654d41a19bef484e6372f854\.mesonpy-3s9nxbqg\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.

@tanishqv tanishqv added Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member labels Jun 5, 2025
@harupy
Copy link
Contributor

harupy commented Jun 5, 2025

Ran into the same issue. requires-python is still >= 3.9.

requires-python = '>=3.9'

https://github.com/pandas-dev/pandas/releases/tag/v2.3.0 says 2.3.0 only supports >= 3.10.

@leosmerling-hopeit
Copy link

leosmerling-hopeit commented Jun 5, 2025

Ran into the same issue in Mac OSX (Sillicon), using uv pip install. Error is in Cython there is a missing "ios" file.
(didn't want to open another issue, but I can do it if it is different)

Python: 3.12.7
Env: virtualenv (uv)
Platform: Mac OSX (sillicon)

Most relevant log:

      pandas/_libs/window/aggregations.cpython-312-darwin.so.p/pandas/_libs/window/aggregations.pyx.cpp:1123:10: fatal error: 'ios' file
       1123 | #include "ios"
 1 error generated.

...

      Found ninja-1.11.1.git.kitware.jobserver-1 at /Users/xx/.cache/uv/builds-v0/.tmpy1DM5L/bin/ninja
      + /Users/xx/.cache/uv/builds-v0/.tmpy1DM5L/bin/ninja
      ninja: build stopped: subcommand failed.

@raulcd
Copy link

raulcd commented Jun 5, 2025

There seems to be some missing wheels on PyPI, for example on apache/arrow we can't seem to find the macOS arm64 for python 3.11 and try to build from source (which fails for us).
If I take a look on PyPI are indeed missing some wheels:
https://pypi.org/project/pandas/2.3.0/#files
cc @mroeschke

@mroeschke
Copy link
Member

Apologies, I just uploaded the following missing wheels to pypi

  • pandas-2.3.0-cp311-cp311-macosx_11_0_arm64.whl
  • pandas-2.3.0-cp312-cp312-macosx_11_0_arm64.whl
  • pandas-2.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • pandas-2.3.0-cp313-cp313-macosx_11_0_arm64.whl

Going to close this issue to consolidate the Python 3.9 install issues to #61563

@raulcd
Copy link

raulcd commented Jun 6, 2025

Thanks @mroeschke !

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

5 participants