os:centos7
CUDA10
python版本:3.7.7
pip 20.0.2
Successfully uninstalled setuptools-41.2.0
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5tok1d1z/prettytable/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5tok1d1z/prettytable/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-5tok1d1z/prettytable/pip-egg-info
cwd: /tmp/pip-install-5tok1d1z/prettytable/
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/python3/lib/python3.7/site-packages/setuptools/__init__.py", line 19, in
from setuptools.dist import Distribution
File "/usr/local/python3/lib/python3.7/site-packages/setuptools/dist.py", line 34, in
from setuptools import windows_support
File "/usr/local/python3/lib/python3.7/site-packages/setuptools/windows_support.py", line 2, in
import ctypes
File "/usr/local/python3/lib/python3.7/ctypes/__init__.py", line 7, in
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 f
报错没找到'_ctypes'模块,应该是缺少依赖项。
怎么还装了window_support,不是linux系统么。
是不是版本问题。