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.

Author prabs003
Recipients Dandan Lee, bkline, bryanf, dgspahn, dstufft, malin, martin.panter, ncoghlan, prabs003, zach.ware
Date 2018-09-19.11:25:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 use python3.7 in centos.

 File "", line 20651, in <module>
  File "", line 197, in main
  File "", line 82, in bootstrap
    import pip._internal
  File "/tmp/tmpu88jadkc/", line 42, in <module>
  File "/tmp/tmpu88jadkc/", line 16, in <module>
  File "/tmp/tmpu88jadkc/", line 24, in <module>
  File "/tmp/tmpu88jadkc/", line 38, in <module>
  File "/tmp/tmpu88jadkc/", line 3, in <module>
  File "/usr/local/lib/python3.7/ctypes/", line 7, in <module>
    from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'

Looking for advice.
Date User Action Args
2018-09-19 11:25:12prabs003setrecipients: + prabs003, ncoghlan, bkline, martin.panter, zach.ware, dstufft, malin, Dandan Lee, bryanf, dgspahn
2018-09-19 11:25:12prabs003setmessageid: <>
2018-09-19 11:25:12prabs003linkissue31652 messages
2018-09-19 11:25:12prabs003create