简体   繁体   English

安装pptx时出现python错误

[英]python error while installing pptx

I would like to install the pptx package and i tried below. 我想安装pptx软件包,我在下面尝试过。 My main goal is to run the code which is provided at the bottom of this page . 我的主要目标是运行此页底部提供的代码。

I have the latest version of PIP and I get the message 我拥有最新版本的PIP,并且收到消息

Collecting pptx
  Could not find a version that satisfies the requirement pptx (from versions: )
No matching distribution found for pptx


(C:\ProgramData\Anaconda3) C:\WINDOWS\system32>easy_install -U pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 18.0
Processing pip-18.0-py3.6.egg
pip 18.0 is already the active version in easy-install.pth
Installing pip-script.py script to C:\ProgramData\Anaconda3\Scripts
Installing pip.exe script to C:\ProgramData\Anaconda3\Scripts
Installing pip3-script.py script to C:\ProgramData\Anaconda3\Scripts
Installing pip3.exe script to C:\ProgramData\Anaconda3\Scripts
Installing pip3.6-script.py script to C:\ProgramData\Anaconda3\Scripts
Installing pip3.6.exe script to C:\ProgramData\Anaconda3\Scripts

Using c:\programdata\anaconda3\lib\site-packages\pip-18.0-py3.6.egg
Processing dependencies for pip
Finished processing dependencies for pip

(C:\ProgramData\Anaconda3) C:\WINDOWS\system32>pip install pptx
Collecting pptx
  Could not find a version that satisfies the requirement pptx (from versions: )
No matching distribution found for pptx

(C:\ProgramData\Anaconda3) C:\WINDOWS\system32>pip -V
pip 18.0 from c:\programdata\anaconda3\lib\site-packages\pip-18.0-py3.6.egg\pip (python 3.6)

(C:\ProgramData\Anaconda3) C:\WINDOWS\system32>

(C:\ProgramData\Anaconda3) C:\Users\nnnn>

Try running pip install python-pptx instead. 尝试运行pip install python-pptx It seems you are trying to find a package called pptx but that package does not exist on any of your registered channels. 看来您正在尝试找到一个名为pptx的软件包,但该软件包在您的任何注册频道中都不存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM