[New-bugs-announce] [issue34036] ModuleNotFoundError: No module named '_ctypes' when install Python 3.7 on Linux

Semyon Levin report at bugs.python.org
Tue Jul 3 15:10:48 EDT 2018


New submission from Semyon Levin <SEMYON.LEVIN at TMX.COM>:

make install failed with
  File "/tmp/tmp2gwe2ma_/pip-10.0.1-py2.py3-none-any.whl/pip/_internal/utils/glibc.py", line 3, in <module>
  File "/common/dev/slevin/tools/Python-3.7.0/Lib/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
make: *** [install] Error 1

I used PKG_CONFIG_PATH in config and LIBFFI_INCLUDEDIR was created correctly in Makefile. 

How to configure location for libffi.a ?

----------
messages: 320998
nosy: semkin
priority: normal
severity: normal
status: open
title: ModuleNotFoundError: No module named '_ctypes' when install Python 3.7 on Linux

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34036>
_______________________________________


More information about the New-bugs-announce mailing list