[New-bugs-announce] [issue32401] No module named '_ctypes'

YoSTEALTH report at bugs.python.org
Thu Dec 21 14:25:03 EST 2017


New submission from YoSTEALTH <ritesh at stealthcentral.com>:

I tried to install python3.7.0a3 just to test it out and i keep getting error:

Traceback (most recent call last):
  File "/tmp/psi/Python-3.7.0a3/Lib/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/tmp/psi/Python-3.7.0a3/Lib/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmp/psi/Python-3.7.0a3/Lib/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/tmp/psi/Python-3.7.0a3/Lib/ensurepip/__init__.py", line 204, in _main
    default_pip=args.default_pip,
  File "/tmp/psi/Python-3.7.0a3/Lib/ensurepip/__init__.py", line 117, in _bootstrap
    return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/tmp/psi/Python-3.7.0a3/Lib/ensurepip/__init__.py", line 27, in _run_pip
    import pip
  File "/tmp/tmpuwh0fjm1/pip-9.0.1-py2.py3-none-any.whl/pip/__init__.py", line 28, in <module>
  File "/tmp/tmpuwh0fjm1/pip-9.0.1-py2.py3-none-any.whl/pip/vcs/mercurial.py", line 9, in <module>
  File "/tmp/tmpuwh0fjm1/pip-9.0.1-py2.py3-none-any.whl/pip/download.py", line 36, in <module>
  File "/tmp/tmpuwh0fjm1/pip-9.0.1-py2.py3-none-any.whl/pip/utils/glibc.py", line 4, in <module>
  File "/tmp/psi/Python-3.7.0a3/Lib/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
Makefile:1108: recipe for target 'install' failed
make: *** [install] Error 1

System:
Linux (4.10.0-42-generic) 64bit

I have installed 3.6.0 and 3.6.4 without any problems.

----------
components: Installation
messages: 308897
nosy: YoSTEALTH
priority: normal
severity: normal
status: open
title: No module named '_ctypes'
type: compile error
versions: Python 3.7

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


More information about the New-bugs-announce mailing list