Trying to install anything with pip on macos and cannot

五迷三道 提交于 2019-12-02 08:30:17

The library murmurhash3 is meant for Python >3.2 and at first you were attempting to compile it for Python 2. It doesn't work as the library has a C extension and Python 2 and 3 are not mutually API compatible.

Of course it would have been easier to notice, would murmurhash3 have checked your Python version in its setup.py.

Now that you're trying to install it to Python 3, it is clear that there is something very wrong with your compiler! The C standard requires that UCHAR_MAX is defined in <limits.h> by every single C compiler in existence and on any current personal computing architecture the UCHAR_MAX should be defined to 255, Macs included. Python.h checks this. Your C compiler defined neither UCHAR_MAX nor did it set it to 255 in limits.h but it still successfully included some limits.h. Your C compiler is utterly b0rken

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!