jto*_*lem 46 python windows matplotlib freetype conda
我创建了这个简单的环境conda
:
conda create -n test python=3.8.5 pandas scipy numpy matplotlib seaborn jupyterlab
Run Code Online (Sandbox Code Playgroud)
以下代码使jupyter lab
内核崩溃:
import matplotlib.pyplot as plt
plt.subplot()
Run Code Online (Sandbox Code Playgroud)
我没有遇到这个问题Linux
。问题是当我试穿时Windows 10
。
控制台(我启动服务器的地方)上没有错误jupyter lab
,我不知道在哪里调查。
Tre*_*ney 74
pkgs/main
通道已恢复为 Windowsconda
使用,每个main / packages / freetype。freetype 2.10.4
conda list freetype
检查版本:freetype != 2.11.0
2.11.0
,则根据解决方案更改版本,或者conda update --all
(前提是配置文件中的默认通道未更改.condarc
)。conda
或freetype
自 2021 年 10 月 27 日以来。Anaconda
提示符并降级freetype 2.11.0
。
conda install freetype=2.10.4
matplotlib
与任何使用的包和任何 IDE
相关pandas.DataFrame.plot
和seaborn
conda
。conda update --all
与 相关的任何内容都会出现问题。
matplotlib
Jupyter
JupyterLab
、PyCharm
、 和python
命令提示符中对此进行了测试。Process finished with exit code -1073741819
conda update --all
in 上(base)
,然后任何使用matplotlib
(例如seaborn
和pandas.DataFrame.plot
)的绘图 API 都会在任何环境中杀死内核。(base)
,然后我的其他环境就可以工作了。python 3.8.12
我用和测试了这个问题python 3.9.7
conda
修订日志。conda update --all
可以正常工作,但在更新之后,使用 进行绘图会导致matplotlib
python 内核崩溃 2021-10-31 10:47:22 (rev 3)
bokeh {2.3.3 (defaults/win-64) -> 2.4.1 (defaults/win-64)}
click {8.0.1 (defaults/noarch) -> 8.0.3 (defaults/noarch)}
filelock {3.0.12 (defaults/noarch) -> 3.3.1 (defaults/noarch)}
freetype {2.10.4 (defaults/win-64) -> 2.11.0 (defaults/win-64)}
imagecodecs {2021.6.8 (defaults/win-64) -> 2021.8.26 (defaults/win-64)}
joblib {1.0.1 (defaults/noarch) -> 1.1.0 (defaults/noarch)}
lerc {2.2.1 (defaults/win-64) -> 3.0 (defaults/win-64)}
more-itertools {8.8.0 (defaults/noarch) -> 8.10.0 (defaults/noarch)}
pyopenssl {20.0.1 (defaults/noarch) -> 21.0.0 (defaults/noarch)}
scikit-learn {0.24.2 (defaults/win-64) -> 1.0.1 (defaults/win-64)}
statsmodels {0.12.2 (defaults/win-64) -> 0.13.0 (defaults/win-64)}
sympy {1.8 (defaults/win-64) -> 1.9 (defaults/win-64)}
tqdm {4.62.2 (defaults/noarch) -> 4.62.3 (defaults/noarch)}
xlwings {0.24.7 (defaults/win-64) -> 0.24.9 (defaults/win-64)}
Run Code Online (Sandbox Code Playgroud)
freetype
2.11.0
解决2.10.4
问题并使环境能够正常工作matplotlib
归档时间: |
|
查看次数: |
26699 次 |
最近记录: |