python显示no matching distribution,Python使用pip安装No matching distribution found for PyYaml==5.3.1...

ERROR: Command errored out with exit status 1:

command:/usr/local/dmahz/p_book_data/bin/python3.9 -c ‘import sys, setuptools, tokenize; sys.argv[0] =‘"‘"‘/tmp/pip-install-yqn97g8t/pyyaml_30670ccf25cc4caf94c339671933c1ca/setup.py‘"‘"‘; __file__=‘"‘"‘/tmp/pip-install-yqn97g8t/pyyaml_30670ccf25cc4caf94c339671933c1ca/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-pip-egg-info-vc7iszg1

cwd:/tmp/pip-install-yqn97g8t/pyyaml_30670ccf25cc4caf94c339671933c1ca/Complete output (11lines):

Traceback (most recent calllast):

File"", line 1, in File"/usr/local/dmahz/p_book_data/lib/python3.9/site-packages/setuptools/__init__.py", line 23, in from setuptools.dist import Distribution

File"/usr/local/dmahz/p_book_data/lib/python3.9/site-packages/setuptools/dist.py", line 34, in from setuptools import windows_support

File"/usr/local/dmahz/p_book_data/lib/python3.9/site-packages/setuptools/windows_support.py", line 2, in import ctypes

File"/usr/local/lib/python3.9/ctypes/__init__.py", line 8, in from _ctypes import Union, Structure, Array

ModuleNotFoundError: No module named‘_ctypes‘

----------------------------------------WARNING: Discarding http://mirrors.tencentyun.com/pypi/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz#sha256=b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d (fromhttp://mirrors.tencentyun.com/pypi/simple/pyyaml/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ERROR: Could not find a version that satisfies the requirement PyYaml==5.3.1ERROR: No matching distribution foundfor PyYaml==5.3.1

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值