----- Original Message -----
> From: "Victor Stinner" <vstin...@redhat.com>
> To: python-dev@python.org
> Sent: Tuesday, July 2, 2019 10:41:40 AM
> Subject: [Python-Dev] Re: 3.7.3 Compile error on CentOS 7 (but 3.6.8 Compiles 
> OK)
> 
> Hi,
> 
> Le 02/07/2019 à 06:22, cso...@uol.com.br a écrit :
> > I am trying to compile Python 3 on Centos7  and I am getting
> > "ModuleNotFoundError: No module named '_ctypes'"
> 
> I'm not sure that you are asking on the right mailing list. Anyway.
> 
> Red Hat provides precompiled Python 3.6 for Centos 7:
> https://www.softwarecollections.org/en/scls/rhscl/rh-python36/
> 
> About your error, you likely miss some header files, like libffi-devel:
> 
>     sudo yum install -y libffi-devel

That issue has been reported some times before as well at bpo.

Maybe providing a proper error message for the missing libffi headers would be 
good, as the current one is quite cryptic.

> 
> Victor
> --
> Night gathers, and now my watch begins. It shall not end until my death.
> _______________________________________________
> Python-Dev mailing list -- python-dev@python.org
> To unsubscribe send an email to python-dev-le...@python.org
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-dev@python.org/message/MERA4UA2KLZJVQ7IEMNYOTD7FCSZY24I/
> 

-- 
Regards,

Charalampos Stratakis
Software Engineer
Python Maintenance Team, Red Hat
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/GSEAOBVOUQ4NVZD2IXYFW44S4KPDCBNG/

Reply via email to