-
-
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: Unable to compile on Windows 10 with Python 3.10 #44136
Comments
Attempting to install pandas 1.3.4 on a fresh conda python 3.10 env works for me.
Are you trying to compile a development version of pandas? |
GitHub is blocked at my office so I have to install from source. I am writing this from my phone. |
I've milestoned 1.3.5 for now. However we will probably be able to create Windows wheels for 1.3.4 (and upload to PyPI) now that numpy 3.10 wheels for windows are available (numpy-1.21.3-cp310-cp310-win_amd64.whl) @lithomas1 ? |
I already had that version of numpy; I reinstalled it but I still get the same file not found error. |
Why are you using python setup.py develop instead of doing If you still want to try to install from source, try cleaning your installation folder with |
I have a PR for macOS and Windows wheels ready on the MacPython repo. (Merge first MacPython/pandas-wheels#159, then MacPython/pandas-wheels#156, the second one might need a rebase). I think it would be better to just upload everything to 1.3.5. Installs using pip seem to work for me at least, and there were some changes to the macOS wheels(they became universal2.) so just lower risk to wait. |
@lithomas1 what's the risk exactly to still upload the Python 3.10 wheels for 1.3.4, now they can be built? (it's the first time wheels for 3.10 would become available, so it's not there were changes compared to the previous version of pandas for py3.10?) |
Hmm.. I might be coming around on this one. I forgot that a lot of people don't have C Compilers/Cython on their system, and it might be difficult to compile from source for them. Do we have a way of changing the release notes after a release? I don't want to do this silently, since bad wheels make it much more difficult to install a version of pandas. Also, there are no more x86_64 wheels on macOS, so the size of the package is gonna be 2x for people with Intel Macs. |
Tagging this as with "admin" label since someone with permissions needs to upload to pypi. Also pinging @pandas-dev/pandas-core to see if there's any objections. |
@simonjayhawkins if you can upload would be great. |
Title has wrong version of Python. Presumably 3.10.1. |
Python 3.10.0 is the latest. |
No further comments here, so will upload shortly. |
done. |
Thanks Simon! |
It turns out we don't have thin wheels for x86_64 macOS users for Python 3.10, because of a multibuild limitation. So someone with Intel Mac will install the universal2 wheel which is ~2x bigger. Recently, multibuild allowed building the thin x86_64 macos wheels for Python 3.10. I have opened MacPython/pandas-wheels#163 accordingly. @simonjayhawkins Can you merge that PR? (the failures can be ignored cuz they were fixed on changes that were backported but only in 1.3.5 not 1.3.4) I am not sure whether it is too close to 1,3,5 to upload the wheels, though. I'll leave that decision to the rest of @pandas-dev/pandas-core |
Once 1.3.5 wheels are up, the 1.3.4 wheel will probably only be downloaded if specifically requested. Probably best to leave as is although I've not gone through the process of changing build number for PyPI release so not sure what is required. |
done. We will have an additional wheel |
Yeah. The config for the other wheels should have remained the same. The only question is whether to upload |
no further comments here so let's close and leave 1.3.4 as is. |
When downloading the tar ball and executing “py setup.py develop” most of the build succeeds until you ge to the step where it tries to build pandas._libs.indexing, because indexing.c is not in the _libs directory, the build fails with the following error:
Exception: Cython-generated file ‘pandas_lib/indexing.c’ not found.
Cython is required to compile pandas from a development branch.
Please install Cython or download a release package of pandas.
For the record, there is no official release of Pandas for Python 3.10 on Windows or Macintosh, only Linux.
cython is installed:
py -c “import cython; print(cython.version)”
0.29.24
The text was updated successfully, but these errors were encountered: