-
Notifications
You must be signed in to change notification settings - Fork 2.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
pip install pyiceberg on windows require C++ to be installed #5901
Comments
I believe this is because of the pyarrow dependency. In the pyarrow docs they include tips for getting around installation issues on windows. |
I have pyarrow installed already? |
@djouallah Thanks for reaching out and creating the issue. Could you share the command that you use to install PyIceberg? For example, Could you also share the error that you're seeing? Just the output of the console would be helpful 👍🏻 |
PS C:\Users\mimoune.djouallah\Desktop\TPC-H-SF10> pip3 install pyiceberg[pyarrow] Collecting pyiceberg[pyarrow] × Running setup.py install for mmh3 did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. |
Thanks @djouallah for sharing. Could you try to install I noticed this from the log:
This means that it will fall back on installing it from the source, which will mean that it will try to compile the native extension. |
PS C:\Users\mimoune.djouallah\Desktop\TPC-H-SF10> pip3 install wheel × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Running setup.py install for mmh3 did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. |
I think the issue is with mmh3 PS C:\Users\mimoune.djouallah\Desktop\TPC-H-SF10> pip3 install mmh3 × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Running setup.py install for mmh3 did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. |
@djouallah The pre-compiled wheel is not available for Python 3.10. It is available for Python <=3.9. There is a PR available for this: hajimes/mmh3#35 but has yet to be merged. |
it is seems mmh3 is not supported, is there an alternative solution please ? |
The mmh3 project is abandoned, and not being maintained. This results in that there are no wheels (compiled binaries) available for newer versions of Python (3.10 and 3.11). I've forked the repo, and created a new release with the latest binaries. Solves apache#5901
The mmh3 project is abandoned, and not being maintained. This results in that there are no wheels (compiled binaries) available for newer versions of Python (3.10 and 3.11). I've forked the repo, and created a new release with the latest binaries. Solves apache#5901
The mmh3 project is abandoned, and not being maintained. This results in that there are no wheels (compiled binaries) available for newer versions of Python (3.10 and 3.11). I've forked the repo, and created a new release with the latest binaries. Solves apache#5901
The mmh3 project is abandoned, and not being maintained. This results in that there are no wheels (compiled binaries) available for newer versions of Python (3.10 and 3.11). I've forked the repo, and created a new release with the latest binaries. Solves apache#5901
The mmh3 project is abandoned, and not being maintained. Solves #5901
thanks, it works now with 0.2 release |
Awesome, thanks for letting us know! @djouallah |
Apache Iceberg version
main (development)
Query engine
No response
Please describe the bug 🐞
when I tired to install pip install pyiceberg on windows 10, it did complaining about missing C++ files, I was expect a binary distribution not compiling the source myself ? is this by design
The text was updated successfully, but these errors were encountered: