我正在尝试在 Python 3.7 中使用 Jupyter notebook 安装索引器。
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\
我尝试了各种解决方案,例如
pip install --upgrade setuptools
pip install ez_setup
但没有任何工作。
如何安装索引器包?