Windows 10中Python 3.7中的pip安装索引器错误 [英] pip install indexer error in Python 3.7 in Windows 10
本文介绍了Windows 10中Python 3.7中的pip安装索引器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在Python 3.7中使用Jupyter笔记本安装索引器.
I am trying to install indexer using Jupyter notebook in Python 3.7.
pip install indexer
我遇到以下错误.
Collecting indexer
Using cached https://files.pythonhosted.org/packages/c7/2f/49ea001ccc81502fe790c6077ca0cf9c4dc98ce160e1b1225a8c881b53b1/indexer-0.6.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\manorama\AppData\Local\Temp\pip-install-vs0071ok\indexer\setup.py", line 107
except OSError, ex:
^
SyntaxError: invalid syntax
----------------------------------------
Note: you may need to restart the kernel to use updated packages.
Command "python setup.py egg_info" failed with error code 1 in C:\Users\manorama\AppData\Local\Temp\pip-install-vs0071ok\indexer\
我尝试了各种解决方案,例如
I tried various solutions like
pip install --upgrade setuptools
pip install ez_setup
但是没有任何效果.
如何安装索引器软件包?
How can I install the indexer package?
推荐答案
indexer
软件包似乎与Python 3不兼容.在这种情况下,您有很多选择:
It seems that the indexer
package is not compatible with Python 3. In this case you have a number of options:
- 找到另一个提供类似功能的软件包.
- 在您的应用程序中使用Python 2.
- 提交错误报告,并希望有人可以解决此问题,或者尝试自己修复程序包中的错误.
这篇关于Windows 10中Python 3.7中的pip安装索引器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文