Comments (3)
I also am unable to build:
$ sudo -H pip install mmh3==2.0
Collecting mmh3==2.0
Using cached https://files.pythonhosted.org/packages/cb/e0/d9459f9d4b56cc78c85f1c1aca54eb0ed89d4ed703da979e09b24806d434/mmh3-2.0.tar.gz
Building wheels for collected packages: mmh3
Running setup.py bdist_wheel for mmh3 ... error
Complete output from command /usr/bin/pypy -u -c "import setuptools, tokenize;file='/tmp/pip-install-t1zQ1D/mmh3/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-dgyuoI --python-tag pp251:
running bdist_wheel
running build
running build_ext
building 'mmh3' extension
creating build
creating build/temp.linux-x86_64-2.7
cc -O2 -fPIC -Wimplicit -I/usr/lib/pypy/include -c mmh3module.cpp -o build/temp.linux-x86_64-2.7/mmh3module.o
cc1plus: warning: command line option ‘-Wimplicit’ is valid for C/ObjC but not for C++
mmh3module.cpp:9:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'cc' failed with exit status 1
Failed building wheel for mmh3
Running setup.py clean for mmh3
Failed to build mmh3
Installing collected packages: mmh3
Running setup.py install for mmh3 ... error
Complete output from command /usr/bin/pypy -u -c "import setuptools, tokenize;file='/tmp/pip-install-t1zQ1D/mmh3/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-I0ZxFz/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'mmh3' extension
creating build
creating build/temp.linux-x86_64-2.7
cc -O2 -fPIC -Wimplicit -I/usr/lib/pypy/include -c mmh3module.cpp -o build/temp.linux-x86_64-2.7/mmh3module.o
cc1plus: warning: command line option ‘-Wimplicit’ is valid for C/ObjC but not for C++
mmh3module.cpp:9:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'cc' failed with exit status 1
----------------------------------------
Command "/usr/bin/pypy -u -c "import setuptools, tokenize;file='/tmp/pip-install-t1zQ1D/mmh3/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-I0ZxFz/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-t1zQ1D/mmh3/
from mmh3.
I also encountered the same issue-
have you managed to install it?
from mmh3.
Sorry for your inconvenience.
I believe this kind of issues should have been resolved in version 3.0.0, which provided official wheels. I just forgot to close this issue.
Thanks,
from mmh3.
Related Issues (20)
- How Golang call this? HOT 1
- get murmurhash3 of binary file in python HOT 1
- Accept Iterable for Performance HOT 6
- Python 3.10 support? HOT 4
- return different hash between c++ and python HOT 3
- Support for hashing data > 16GB HOT 1
- Status of project? HOT 1
- Make the module hashlib-compliant HOT 2
- Python 3.11 support please HOT 3
- Remove __version__ in mmh3module.cpp HOT 1
- Switch license from CC0 to MIT HOT 1
- Add type hints HOT 1
- Port MurmurHash3 from C++ to C HOT 1
- Golang Compatibility HOT 2
- Make hash functions endian-neutral HOT 1
- Decouple the original code from this repository HOT 2
- SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats HOT 2
- (Bazel) AttributeError: module 'mmh3' has no attribute 'hash' HOT 3
- Typing: hash64 missing x64arch argument HOT 1
- hash64/hash128/hash_bytes(..., x64arch = False) fail on s390x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmh3.