Hello,
I installed Gazetteer using pip on my server and when I import it I got this error (and it kills the python shell):
Python 3.12.3 (main, Mar 30 2026, 02:35:57) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
import gazetteer
[1] 2619416 illegal hardware instruction python
The error is trigger by this line of code:
import numpy as np
The install version of numpy (installed automatically during 'pip install gazetteer') is 2.4.4.
I temporary fixed the issue using numpy 2.3.5.
It might be link to my CPU, here are some details from lscpu:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 36 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 54
Model name: Intel(R) Atom(TM) CPU N2800 @ 1.86GHz
Stepping: 1
CPU MHz: 800.082
CPU max MHz: 1862.0000
CPU min MHz: 798.0000
BogoMIPS: 3733.32
L1d cache: 48 KiB
L1i cache: 64 KiB
L2 cache: 1 MiB
NUMA node0 CPU(s): 0-3
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1: Not affected
Vulnerability Spectre v2: Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon peb
s bts nopl nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm arat
Hello,
I installed Gazetteer using pip on my server and when I import it I got this error (and it kills the python shell):
Python 3.12.3 (main, Mar 30 2026, 02:35:57) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
The error is trigger by this line of code:
import numpy as np
The install version of numpy (installed automatically during 'pip install gazetteer') is 2.4.4.
I temporary fixed the issue using numpy 2.3.5.
It might be link to my CPU, here are some details from lscpu:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 36 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 54
Model name: Intel(R) Atom(TM) CPU N2800 @ 1.86GHz
Stepping: 1
CPU MHz: 800.082
CPU max MHz: 1862.0000
CPU min MHz: 798.0000
BogoMIPS: 3733.32
L1d cache: 48 KiB
L1i cache: 64 KiB
L2 cache: 1 MiB
NUMA node0 CPU(s): 0-3
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1: Not affected
Vulnerability Spectre v2: Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon peb
s bts nopl nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm arat