27304098 2023-07-18 16:11 采纳率: 53.3%
浏览 52
已结题

python3.12安装openpyxl报错No matching distribution found for et-xmlfile

pip install openpyxl-3.1.2-py2.py3-none-any.whl
python3.12安装openpyxl报错:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x07836E30>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/et-xmlfile/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x07836FD0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/et-xmlfile/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x07836F70>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/et-xmlfile/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0416E110>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/et-xmlfile/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0416E1D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/et-xmlfile/
INFO: pip is looking at multiple versions of openpyxl to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement et-xmlfile (from openpyxl) (from versions: none)
ERROR: No matching distribution found for et-xmlfile

  • 写回答

2条回答 默认 最新

  • 不良使 Python领域潜力新星 2023-07-18 16:29
    关注

    这个错误通常是由于网络连接问题导致的。请尝试以下方法解决该问题:

    1. 检查网络连接:确保你的网络连接正常,并且可以正常访问互联网。你可以尝试在浏览器中打开一些网页来确认网络连接是否正常。

    2. 使用代理:如果你使用的是代理服务器上网,尝试设置pip使用代理。可以通过设置HTTP_PROXYHTTPS_PROXY环境变量来配置代理服务器。

      例如,在Windows系统中,使用命令行设置代理:

      set HTTP_PROXY=http://proxy_ip:proxy_port
      set HTTPS_PROXY=http://proxy_ip:proxy_port
      

      在Linux或macOS系统中,使用命令行设置代理:

      export HTTP_PROXY=http://proxy_ip:proxy_port
      export HTTPS_PROXY=http://proxy_ip:proxy_port
      

      proxy_ipproxy_port替换为你实际使用的代理服务器的IP地址和端口号。

    3. 更改pip源:尝试将pip源切换到国内源或其他可用源。可以使用pip config命令来配置pip源。

      例如,将pip源切换为清华大学的镜像源:

      pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
      

      你也可以尝试其他的国内源,如阿里云源、豆瓣源等。

    4. 使用离线安装包:如果以上方法都无法解决问题,你可以尝试下载et-xmlfile的离线安装包,然后使用pip install命令进行安装。

      下载et-xmlfile的离线安装包:https://pypi.org/project/et-xmlfile/#files

      然后在命令行中切换到下载的安装包所在的目录,运行以下命令进行安装:

      pip install et-xmlfile-VERSION.whl
      

      VERSION替换为下载的安装包的版本号。

    要是还不行估计没这个版本的版本,更换一个相近的版本试试。有帮助的话可以采纳一下,谢谢

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 7月26日
  • 已采纳回答 7月18日
  • 创建了问题 7月18日

悬赏问题

  • ¥15 像这种代码要怎么跑起来?
  • ¥15 怎么改成循环输入删除(语言-c语言)
  • ¥15 安卓C读取/dev/fastpipe屏幕像素数据
  • ¥15 pyqt5tools安装失败
  • ¥15 mmdetection
  • ¥15 nginx代理报502的错误
  • ¥100 当AWR1843发送完设置的固定帧后,如何使其再发送第一次的帧
  • ¥15 图示五个参数的模型校正是用什么方法做出来的。如何建立其他模型
  • ¥100 描述一下元器件的基本功能,pcba板的基本原理
  • ¥15 STM32无法向设备写入固件