Author prabs003
Recipients Dandan Lee, Ma Lin, bkline, bryanf, dgspahn, dstufft, martin.panter, ncoghlan, prabs003, zach.ware
Date 2018-09-19.11:25:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537356312.53.0.956365154283.issue31652@psf.upfronthosting.co.za>
In-reply-to
Content
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 "get-pip.py", line 20651, in <module>
    main()
  File "get-pip.py", line 197, in main
    bootstrap(tmpdir=tmpdir)
  File "get-pip.py", line 82, in bootstrap
    import pip._internal
  File "/tmp/tmpu88jadkc/pip.zip/pip/_internal/__init__.py", line 42, in <module>
  File "/tmp/tmpu88jadkc/pip.zip/pip/_internal/cmdoptions.py", line 16, in <module>
  File "/tmp/tmpu88jadkc/pip.zip/pip/_internal/index.py", line 24, in <module>
  File "/tmp/tmpu88jadkc/pip.zip/pip/_internal/download.py", line 38, in <module>
  File "/tmp/tmpu88jadkc/pip.zip/pip/_internal/utils/glibc.py", line 3, in <module>
  File "/usr/local/lib/python3.7/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'


Looking for advice.
History
Date User Action Args
2018-09-19 11:25:12prabs003setrecipients: + prabs003, ncoghlan, bkline, martin.panter, zach.ware, dstufft, Ma Lin, Dandan Lee, bryanf, dgspahn
2018-09-19 11:25:12prabs003setmessageid: <1537356312.53.0.956365154283.issue31652@psf.upfronthosting.co.za>
2018-09-19 11:25:12prabs003linkissue31652 messages
2018-09-19 11:25:12prabs003create