无法使用pip3安装Jupyter Notebook

时间:2019-03-17 14:02:34

标签: python jupyter-notebook

我正在尝试使用pip3安装jupyter笔记本,但收到以下错误。我可以知道如何解决这个问题吗?非常感谢!

Failed building wheel for pyrsistent

Running setup.py clean for pyrsistent

Failed to build pyrsistent

Installing collected packages: pyrsistent, jsonschema, nbformat, entrypoints, nbconvert, notebook, widgetsnbextension, ipywidgets, jupyter
  Running setup.py install for pyrsistent ... error
    Complete output from command c:\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\esthe\\AppData\\Local\\Temp\\pip-install-fzxj8the\\pyrsistent\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\esthe\AppData\Local\Temp\pip-record-rjbq8ckm\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.5
    copying _pyrsistent_version.py -> build\lib.win-amd64-3.5
    creating build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\typing.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_checked_types.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_compat.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_field_common.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_helpers.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_immutable.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_pbag.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_pclass.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_pdeque.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_plist.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_pmap.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_precord.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_pset.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_pvector.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_toolz.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\_transformations.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\__init__.py -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\py.typed -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\__init__.pyi -> build\lib.win-amd64-3.5\pyrsistent
    copying pyrsistent\typing.pyi -> build\lib.win-amd64-3.5\pyrsistent
    running build_ext
    building 'pvectorc' extension
    error: [WinError 2] The system cannot find the file specified

    ----------------------------------------
Command "c:\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\esthe\\AppData\\Local\\Temp\\pip-install-fzxj8the\\pyrsistent\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\esthe\AppData\Local\Temp\pip-record-rjbq8ckm\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\esthe\AppData\Local\Temp\pip-install-fzxj8the\pyrsistent\

1 个答案:

答案 0 :(得分:0)

我今天在python35上遇到了同样的问题。 我用python36修复了它。只需安装python 3.6,即可在cmd中运行“ pip install jupyter”。