-
Notifications
You must be signed in to change notification settings - Fork 87
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
Could not build wheels for datrie -- using MacOS Monterey (12.6) #97
Comments
I report the same issue. In fact, multiple students in my classroom with different operating systems (mac os, windows, windows) have it. |
I had the same issue on my Ubuntu machine - clang is trying to pull in |
any updates? |
Same issue on Ubuntu with Python 3.10. With Python 3.8 it worked. |
It's simply due to the fact the author doesn't build and push wheels for python > 3.8: https://pypi.org/project/datrie/#files |
Are there any solutions for 3.10? |
I found a solution: just download whl file and change its name to the version of your python. For example, I download "datrie-0.8.2-pp373-pypy36_pp73-win32.whl" and change it to "datrie-0.8.2-cp310-none-any.whl". Then running " pip install ......\Downloads\datrie-0.8.2-cp310-none-any.whl". |
pip install -r dev-requirements.txt cython |
Any solutions? I'm running python 3.12.7. Getting the same issue on Ubuntu. |
Ran into a similar issue: no wheel for macOS ARM (python 3.13), and the build failed due to a missing For example, with AR=/opt/homebrew/opt/llvm/bin/llvm-ar uvx --with=datrie ipython
# Installed 17 packages in 63ms
# Python 3.13.0 (main, Oct 16 2024, 08:05:40) [Clang 18.1.8 ]
# Type 'copyright', 'credits' or 'license' for more information
# IPython 8.29.0 -- An enhanced Interactive Python. Type '?' for help.
#
# [ins] In [1]: import datrie or with pip: AR=/opt/homebrew/opt/llvm/bin/llvm-ar pip install datrie I had to |
Hey guys,
pip install datrie
failedbecause
src/datrie.c:26:10: fatal error: 'Python.h' file not found
the full output:
The text was updated successfully, but these errors were encountered: