python openpyxl安装失败_python嵌入式版本安装openpyxl失败解决方法

在尝试嵌入式安装openpyxl时遇到et_xmlfile模块缺失的问题,导致安装失败。解决方法是手动下载et_xmlfile,解压后将文件夹复制到site-packages目录下,然后再进行openpyxl的安装。
摘要由CSDN通过智能技术生成

使用嵌入式版本安装第三方包时会引用本机缓存的et_xmlfile,

所以会有如下错误.

D:\Projects\Inspect\python-3.8.1>python.exe -m pip install openpyxl --cache-dir D:\ -i https://mirrors.aliyun.com/pypi/simple/

Looking in indexes: https://mirrors.aliyun.com/pypi/simple/

Collecting openpyxl

Downloading https://mirrors.aliyun.com/pypi/packages/95/8c/83563c60489954e5b80f9e2596b93a68e1ac4e4a730deb1aae632066d704/openpyxl-3.0.3.tar.gz (172 kB)

|████████████████████████████████| 172 kB 1.7 MB/s

Collecting jdcal

Downloading https://mirrors.aliyun.com/pypi/packages/f0/da/572cbc0bc582390480bbd7c4e93d14dc46079778ed915b505dc494b37c57/jdcal-1.4.1-py2.py3-none-any.whl (9.5 kB)

Collecting et_xmlfile

Downloading https://mirrors.aliyun.com/pypi/packages/22/28/a99c42aea746e18382ad9fb36f64c1c1f04216f41797f2f0fa567da11388/et_xmlfile-1.0.1.tar.gz (8.4 kB)

ERROR: Command errored out with exit status 1:

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值