相关疑难解决方法(0)

Windows 10 中 Python 3.7 中的 pip install 索引器错误

我正在尝试在 Python 3.7 中使用 Jupyter 笔记本安装索引器。

pip install indexer
Run Code Online (Sandbox Code Playgroud)

我收到以下错误。

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\
Run Code Online (Sandbox Code Playgroud)

我尝试了各种解决方案,例如

pip install --upgrade setuptools
pip install ez_setup
Run Code Online (Sandbox Code Playgroud)

但没有任何效果。

如何安装索引器包?

python pip jupyter-notebook

2
推荐指数
1
解决办法
4981
查看次数

标签 统计

jupyter-notebook ×1

pip ×1

python ×1