本人电脑里的anaconda navigator因为版本太老旧(1.10.0)已经无法升级了,感觉需要卸载再升级。就是一个这样经常卡顿未响应的老人身残志坚地帮我import成功了environment……人家用command line都没有成功……

天啊,我更新了,连带着jupyter notebook的interface都不一样了,难以言状的心情

完全是因为装不上一个library让我有了花几个小时更新的动力,连python版本都用上崭新的了。然后我跑了一下上次的作业,原本绿色的现在变红了​:aru_0250:

一使用matplotlib,kernel就会死掉 :aru_0220: 什么千奇百怪的问题啊啊啊啊,而且昨天使用是没问题的。解决方式是重装numpy???

更新solution:
conda install freetype=2.10.4
github.com/matplotlib/matplotl

再更新:因为上面的solution是大概五年前的了,downgrade freetype好像跟其他有冲突​:aru_0560:
import os blablabla doesnt work in my case
github.com/matplotlib/matplotl

比起xxx我还是更乐意研究一下如何成功让matplotlib在jupyter notebook里画图

Follow

我好像找到解决方法了,inspired by这个答案,虽然不知道人是不是这个意思:就是在打开jupyter notebook之前,先activate环境……就是这么朴实无华……
discourse.jupyter.org/t/matplo

Sign in to participate in the conversation
Rhabarberbarbarabar

本吧服务器位于德国。欢迎小伙伴们分享生活和语言豆知识。
新用户注册请
1. 填写详细的申请理由,或者附上别处的社交账号。
2. 给出 Rhabarberbarbarabar 的中文翻译。