jupyter 设置主题Error:Could not find a version that satisfies the requirement jupyterthemes from version

1.jupyter设置主题的步骤:
命令窗口输入:

pip install jupyterthemes

具体主题讲解可参考:https://www.cnblogs.com/shanger/p/12006161.html

2.遇到的问题:
在这里插入图片描述
Could not find a version that satisfies the requirement jupyterthemes (from versions: none)

解决方法:
(1)可能是pip版本低,需要更新pip(多更新几次):

python -m pip install --upgrade pip

(2)还会继续报错,可以利用国内镜像源:

pip install jupyterthemes -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

在这里插入图片描述
安装成功!

3.设置jupter 主题
(1)更新主题

pip install --upgrade jupyterthemes

(2)查看可用的 Jupyter 主题

jt -l

在这里插入图片描述
(3)更换 Jupyter 主题

jt -t onedork -f fira -fs 13 -cellw 90% -ofs 11 -dfs 11 -T -T

-t 主题 -f(字体) -fs(字体大小) -cellw(占屏比或宽度) -ofs(输出段的字号) -T(显示工具栏) -T(显示自己主机名)

jt -t gruvboxd -T -N # 这个是设置主题

(4)恢复默认主题

jt -r

4.参考资料:

问题解决:https://blog.csdn.net/weixin_42840933/article/details/85308265

问题解决:https://blog.csdn.net/weixin_42001089/article/details/84403842

设置主题:https://www.cnblogs.com/shanger/p/12006161.html

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值