Не удается установить jupyter notebook с помощью pip3

#python #jupyter-notebook

#python #jupyter-notebook

Вопрос:

Я пытаюсь установить jupyter notebook с помощью pip3, но я получил следующие ошибки. Могу ли я узнать, как это решить? Большое спасибо!!

 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:python35python.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('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:UsersestheAppDataLocalTemppip-record-rjbq8ckminstall-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating buildlib.win-amd64-3.5
    copying _pyrsistent_version.py -> buildlib.win-amd64-3.5
    creating buildlib.win-amd64-3.5pyrsistent
    copying pyrsistenttyping.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_checked_types.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_compat.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_field_common.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_helpers.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_immutable.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_pbag.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_pclass.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_pdeque.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_plist.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_pmap.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_precord.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_pset.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_pvector.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_toolz.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent_transformations.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent__init__.py -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistentpy.typed -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistent__init__.pyi -> buildlib.win-amd64-3.5pyrsistent
    copying pyrsistenttyping.pyi -> buildlib.win-amd64-3.5pyrsistent
    running build_ext
    building 'pvectorc' extension
    error: [WinError 2] The system cannot find the file specified

    ----------------------------------------
Command "c:python35python.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('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:UsersestheAppDataLocalTemppip-record-rjbq8ckminstall-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:UsersestheAppDataLocalTemppip-install-fzxj8thepyrsistent
  

Комментарии:

1. Не могли бы вы, пожалуйста, поделиться кодом, который вы используете для установки jupyter notebook с помощью pip. Кроме того, этот веб-сайт может помочь. jupyter.org/install

2. может быть, вам следует попробовать установить с правами администратора?

Ответ №1:

Сегодня у меня была такая же проблема с python35. Я исправил это с помощью python36. Просто установите python 3.6, запустите «pip install jupyter» в cmd.