pip2 install pyhash --no-cache
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Collecting pyhash
Downloading pyhash-0.9.3.tar.gz (602 kB)
|████████████████████████████████| 602 kB 1.2 MB/s
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/nmmintrin.h:31:0,
from src/smhasher/metrohash64crc.cpp:28:
/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:846:1: error: inlining failed in call to always_inline ‘long long unsigned int _mm_crc32_u64(long long unsigned int, long long unsigned int)’: target specific option mismatch
_mm_crc32_u64 (unsigned long long __C, unsigned long long __V)
^
src/smhasher/metrohash64crc.cpp:90:51: error: called from here
hash ^= _mm_crc32_u64(hash, read_u16(ptr)); ptr += 2;
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/nmmintrin.h:31:0,
from src/smhasher/metrohash64crc.cpp:28:
/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:846:1: error: inlining failed in call to always_inline ‘long long unsigned int _mm_crc32_u64(long long unsigned int, long long unsigned int)’: target specific option mismatch
_mm_crc32_u64 (unsigned long long __C, unsigned long long __V)
^
src/smhasher/metrohash64crc.cpp:90:51: error: called from here
hash ^= _mm_crc32_u64(hash, read_u16(ptr)); ptr += 2;
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/nmmintrin.h:31:0,
from src/smhasher/metrohash64crc.cpp:28:
/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:846:1: error: inlining failed in call to always_inline ‘long long unsigned int _mm_crc32_u64(long long unsigned int, long long unsigned int)’: target specific option mismatch
_mm_crc32_u64 (unsigned long long __C, unsigned long long __V)
^
src/smhasher/metrohash64crc.cpp:96:50: error: called from here
hash ^= _mm_crc32_u64(hash, read_u8(ptr));
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/nmmintrin.h:31:0,
from src/smhasher/metrohash64crc.cpp:28:
/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:846:1: error: inlining failed in call to always_inline ‘long long unsigned int _mm_crc32_u64(long long unsigned int, long long unsigned int)’: target specific option mismatch
_mm_crc32_u64 (unsigned long long __C, unsigned long long __V)
^
src/smhasher/metrohash64crc.cpp:96:50: error: called from here
hash ^= _mm_crc32_u64(hash, read_u8(ptr));
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Freeze