pip install jupyter出错:error: [WinError 3] 系统找不到指定的路径

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,一切顺利!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值