Prabhakar <prabs...@gmail.com> 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 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.

----------
nosy: +prabs003

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31652>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to