This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ModuleNotFoundError: No module named '_ctypes'
Type: compile error Stage: resolved
Components: ctypes Versions: Python 3.8
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: alhelal, terry.reedy
Priority: normal Keywords:

Created on 2020-02-23 13:55 by alhelal, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg362511 - (view) Author: Md. Al-Helal (alhelal) Date: 2020-02-23 13:55
ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-68ypuk30/django-tables2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-68ypuk30/django-tables2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-68ypuk30/django-tables2/pip-egg-info
         cwd: /tmp/pip-install-68ypuk30/django-tables2/
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 20, in <module>
        from setuptools.dist import Distribution, Feature
      File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 35, in <module>
        from setuptools import windows_support
      File "/usr/local/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module>
        import ctypes
      File "/usr/local/lib/python3.8/ctypes/__init__.py", line 7, in <module>
        from _ctypes import Union, Structure, Array
    ModuleNotFoundError: No module named '_ctypes'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
msg362946 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-02-29 00:09
This does not look like a bug in cpython; if is it not, it should be closed.  Please ask for help on python-list or another forum that covers installation issues.  Or maybe look for a pip user list.
History
Date User Action Args
2022-04-11 14:59:27adminsetgithub: 83912
2022-01-23 18:59:47iritkatrielsetstatus: open -> closed
resolution: third party
stage: resolved
2020-02-29 00:09:46terry.reedysetnosy: + terry.reedy
messages: + msg362946
2020-02-23 13:55:42alhelalcreate