【nbextensions模块安装失败解决】ERROR: Failed building wheel for jupyter-nbextensions-configurator

近期新电脑重新安装了新的anaconda,想着给jupyter notebook装上nbextensions模块敲python时有目录方便,用命令提示符开始安装:

    pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple

最后发现一大片红色提示,报错ERROR: Failed building wheel for jupyter-nbextensions-configurator,安装不成功

开始以为是jupyter notebook版本过高>6.0的版本,就尝试降级<6.0的版本,后续卸载继续安装。发现使用上述安装方法会装jupyter_contrib_nbextensions-0.7.0的版本并提示与jupyter notebook当前的版本不兼容,依旧解决失败。

网上找了很多方法不成功,但本质都是需要在下载相应版本的python版本的包,然后在本地安装,问题是jupyter_contrib_nbextensions的包不要求python版本,那就可能是nbextensions自身版本太高问题导致的不兼容然后安装失败,最后在Python jupyter-contrib-nbextensions项目安装包(第三方库)下载资源&安装指南页面 – PyPI – Python中文网 (cnpython.com)找到0.5.1版本的jupyter_contrib_nbextensions

在下载到本地安装

pip install+安装包文件路径

成功解决!

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
心中带点小风骚的头像心中带点小风骚普通用户
上一篇 2023年8月8日
下一篇 2023年8月8日

相关推荐