Open fretif opened 2 years ago
This is a common error on Python compilation when the headers package libffi are missing. You have to ask your system administrator to install the package libffi-devel (for a CentOS distribution). Then, you have to reinstall Python with the argument --force-reinstall=1
I am trying to install SPUD on a cluster environment and I got the error below :
[ INFO ] Install meson 0.58.1 (Python tool) Traceback (most recent call last): File "setup.py", line 23, in
from setuptools import setup
File "/home/xxxxx/softs/python-modules/gcc93/lib/python3.7/site-packages/setuptools-57.0.0-py3.7.egg/setuptools/init.py", line 18, in
from setuptools.dist import Distribution
File "/home/xxxxx/softs/python-modules/gcc93/lib/python3.7/site-packages/setuptools-57.0.0-py3.7.egg/setuptools/dist.py", line 38, in
from setuptools import windows_support
File "/home/xxxxx/softs/python-modules/gcc93/lib/python3.7/site-packages/setuptools-57.0.0-py3.7.egg/setuptools/windows_support.py", line 2, in
import ctypes
File "/home/xxxx/softs/python/gcc93/3.7/lib/python3.7/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
[ ABORT ] Abort with status error 1