[issue31652] make install fails: no module _ctypes

2020-03-05 Thread Alexander Stohr
Alexander Stohr added the comment: Ubuntu 16.04 in a very bare naked setup. Similar/same problem profile by message and other lines in the log. Installed libffi6 and libffi-dev => worked. Not sure if both were needed (or interdependent, 2nd to 1st). -- nosy: +Alexander Stohr

[issue31652] make install fails: no module _ctypes

2019-07-26 Thread Thomas Dybdahl Ahle
Thomas Dybdahl Ahle added the comment: Installing libffi-dev worked for me. -- nosy: +thomasahle ___ Python tracker ___ ___

[issue31652] make install fails: no module _ctypes

2019-06-08 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31652] make install fails: no module _ctypes

2019-04-18 Thread Nils Goroll
Nils Goroll added the comment: In case this helps: I noticed this during the build: *** WARNING: renaming "_ssl" since importing it failed: ld.so.1: python: fatal: libssl.so.1.1: open failed: No such file or directory *** WARNING: renaming "_hashlib" since importing it failed: ld.so.1:

[issue31652] make install fails: no module _ctypes

2019-03-05 Thread Mr. Pligin
Mr. Pligin added the comment: Linux Mint 19.1 sudo make altinstall Traceback (most recent call last): File "/usr/src/Python-3.7.2/Lib/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/src/Python-3.7.2/Lib/runpy.py", line 85, in _run_code exec(code,

[issue31652] make install fails: no module _ctypes

2019-02-28 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31652] make install fails: no module _ctypes

2019-02-28 Thread Thrlwiti
Change by Thrlwiti : -- nosy: +THRlWiTi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31652] make install fails: no module _ctypes

2018-09-19 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: As mentioned before, this is due to missing libffi-devel on a Centos 7 system. Verified it as well on one of my systems. Could you try again, but before just do a 'yum install libffi-devel'? Maybe a warning could be added to the install output when

[issue31652] make install fails: no module _ctypes

2018-09-19 Thread Prabhakar
Prabhakar added the comment: Hi All, Iam using centos 7. And as mentioned in this thread, though this error came, Iam able to go to python3.7 interpreter fine. However, when i wanted to install pip, I get the same _ctype error as below. So, I think, this needs to be resolved in order to

[issue31652] make install fails: no module _ctypes

2018-09-08 Thread David Spahn
David Spahn added the comment: I'm getting the same error File "/usr/src/Python-3.7.0/Lib/ctypes/__init__.py", line 7, in from _ctypes import Union, Structure, Array ModuleNotFoundError: No module named '_ctypes' Makefile:1122: recipe for target 'install' failed make: *** [install]

[issue31652] make install fails: no module _ctypes

2018-07-16 Thread Bryan
Bryan added the comment: Similar error on CentOS 7 ModuleNotFoundError: No module named '_ctypes' Install -- yum install libffi-devel Repeat: ./configure --enable-optimizations make altinstall Results: Collecting setuptools Collecting pip Installing collected packages: setuptools, pip

[issue31652] make install fails: no module _ctypes

2018-07-08 Thread Ma Lin
Ma Lin added the comment: > I expect that the root cause is missing libffi(-dev[el]) on your system Yes, on my Ubuntu 18.04, `make` failed to compile _ctypes module. After install libffi-dev, it was compiled successfully: One more word, full necessary dependencies on my Ubuntu 18.04: sudo

[issue31652] make install fails: no module _ctypes

2018-07-07 Thread Martin Panter
Martin Panter added the comment: In Chi-Hsuan suggests “configure --without-ensurepip” as a workaround. -- nosy: +martin.panter ___ Python tracker

[issue31652] make install fails: no module _ctypes

2018-07-07 Thread Bob Kline
Bob Kline added the comment: Confirming that this is still failing with 3.7.0 released. -- nosy: +bkline ___ Python tracker ___

[issue31652] make install fails: no module _ctypes

2017-09-30 Thread Zachary Ware
Zachary Ware added the comment: I expect that the root cause is missing libffi(-dev[el]) on your system, preventing _ctypes from building, so your quick fix would be to install that and try again. However, not having _ctypes shouldn't cause installation to fail.

[issue31652] make install fails: no module _ctypes

2017-09-30 Thread Dandan Lee
New submission from Dandan Lee : The make install step fails with this error: Traceback (most recent call last): File "/home/dandan/Downloads/cpython-3.7.0a1/Lib/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File