首页 Paddle框架 帖子详情
安装包错
收藏
快速回复
Paddle框架 问答深度学习 904 1
安装包错
收藏
快速回复
Paddle框架 问答深度学习 904 1

 

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

0
收藏
回复
全部评论(1)
时间顺序
AIStudio810258
#2 回复于2020-04

报错没找到'_ctypes'模块,应该是缺少依赖项。

怎么还装了window_support,不是linux系统么。

是不是版本问题。

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户