接上,安装pptx库的波折

折腾了很久,终于在3.10上装好了,可是3.11怎么都没弄好。沉淀,过了几个小时,终于想到,还是把3.10删掉吧,或许是系统设置上只能用其中一个了。
卸载后,果然用pip install  就可以安装了。
这是对在虚拟机被华为系统硬件更新后宕机带来的愤怒和无措的补偿。


C:\Users\86150>pip install python-pptx
Collecting python-pptx
  Downloading python-pptx-0.6.21.tar.gz (10.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 10.5 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: lxml>=3.1.0 in d:\python3.11\lib\site-packages (from python-pptx) (4.9.2)
Requirement already satisfied: Pillow>=3.3.2 in d:\python3.11\lib\site-packages (from python-pptx) (9.5.0)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/xlsxwriter/
Collecting XlsxWriter>=0.5.7
  Downloading XlsxWriter-3.0.9-py3-none-any.whl (152 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 152.8/152.8 kB 10.0 kB/s eta 0:00:00
Installing collected packages: XlsxWriter, python-pptx
  DEPRECATION: python-pptx is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for python-pptx ... done
Successfully installed XlsxWriter-3.0.9 python-pptx-0.6.21

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值