小编jto*_*lem的帖子

conda更新后,使用matplotlib时python内核崩溃

我创建了这个简单的环境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,我不知道在哪里调查。

python windows matplotlib freetype conda

46
推荐指数
1
解决办法
3万
查看次数

使用诗歌解决 boto3 和 s3fs 上的依赖关系失败

我可以使用以下命令安装 boto3、s3fs 和 pandas:

pip install boto3 pandas s3fs
Run Code Online (Sandbox Code Playgroud)

但诗歌却失败了:

poetry add boto3 pandas s3fs
Run Code Online (Sandbox Code Playgroud)

这是错误:

Because no versions of s3fs match >2023.3.0,<2024.0.0
 and s3fs (2023.3.0) depends on aiobotocore (>=2.4.2,<2.5.0), s3fs (>=2023.3.0,<2024.0.0) requires aiobotocore (>=2.4.2,<2.5.0).
And because no versions of aiobotocore match >2.4.2,<2.5.0
 and aiobotocore (2.4.2) depends on botocore (>=1.27.59,<1.27.60), s3fs (>=2023.3.0,<2024.0.0) requires botocore (>=1.27.59,<1.27.60).
And because boto3 (1.26.91) depends on botocore (>=1.29.91,<1.30.0)
 and no versions of boto3 match >1.26.91,<2.0.0, s3fs (>=2023.3.0,<2024.0.0) is incompatible with boto3 (>=1.26.91,<2.0.0).
So, because engexploit-k8s-pod-operator-images …
Run Code Online (Sandbox Code Playgroud)

boto3 python-poetry python-s3fs

7
推荐指数
1
解决办法
3210
查看次数