win10 64位,python v.3.6.6
pip install jupyter
过程中报错,error: [WinError 3] 系统找不到指定的路径,在往上翻,发现是pyrsistent安装失败:Failed building wheel for pyrsistent
具体出错信息如下:
building 'pvectorc' extension
error: [WinError 3] 系统找不到指定的路径。: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
----------------------------------------
Failed building wheel for pyrsistent
Running setup.py clean for pyrsistent
Failed to build pyrsistent
Installing collected packages: testpath, defusedxml, pyrsistent, jsonschema, nbformat, webencodings, bleach, mistune, entrypoints, pandocfilters, nbconvert, Send2Trash, notebook, qtconsole, jupyter-console, widgetsnbextension, ipywidgets, jupyter
Running setup.py install for pyrsistent ... error
Complete output from command c:\users\administrator\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-aq947mnl\\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\ADMINI~1\AppData\Local\Temp\pip-record-neqok803\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
copying _pyrsistent_version.py -> build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\typing.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_checked_types.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_compat.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_field_common.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_helpers.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_immutable.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_pbag.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_pclass.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_pdeque.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_plist.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_pmap.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_precord.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_pset.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_pvector.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_toolz.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\_transformations.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\__init__.py -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\py.typed -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\__init__.pyi -> build\lib.win-amd64-3.6\pyrsistent
copying pyrsistent\typing.pyi -> build\lib.win-amd64-3.6\pyrsistent
running build_ext
building 'pvectorc' extension
error: [WinError 3] 系统找不到指定的路径。: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
----------------------------------------
Command "c:\users\administrator\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-aq947mnl\\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\ADMINI~1\AppData\Local\Temp\pip-record-neqok803\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-aq947mnl\pyrsistent\
那只能手动自己安装pyrsistent了。
进入网站http://www.lfd.uci.edu/~gohlke/pythonlibs/,找到pyrsistent,并根据自己的系统和python版本下载对应文件。
进入到下载目录,然后
pip install pyrsistent-0.14.11-cp36-cp36m-win_amd64.whl
成功之后再次安装jupyter,一切顺利!