gpt4 book ai didi

python - 安装 matplotlib-venn

转载 作者:可可西里 更新时间:2023-11-01 13:29:42 25 4
gpt4 key购买 nike

我在使用 easy-install 或 pip 安装 matplotlib-venn 时遇到问题。我在使用 python2.7 的 Windows 计算机上。但是,cmd 显示总是有一些错误。

这是使用“easy_install”的windows,我在cmd中输入命令$easy_install matplotlib-venn,然后显示错误:

"no lapack/blas resources found ".`

然后我用pip安装的时候,在cmd中输入命令$pip install matplotlib-venn,显示:

    Command ""C:\Python27\New Folder\python.exe" -c "import setuptools, tokenize
;__file__='c:\\users\\qiu\\appdata\\local\\temp\\pip-build-cz2ob6\\scipy\\setup.
py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n'
, '\n'), __file__, 'exec'))" install --record c:\users\qiu\appdata\local\temp\pi
p-tfwzxc-record\install-record.txt --single-version-externally-managed --compile
" failed with error code 1 in c:\users\qiu\appdata\local\temp\pip-build-cz2ob6\s
cipy

最佳答案

另一种方法是使用 Anaconda Python 发行版,其中包括 300 多个最流行的用于科学、数学、工程和数据分析的 Python 包(包括 NumPy 和 matplotlib),并避免了许多此类令人头疼的问题。

在上面安装 matplotlib-venn 很简单(pip install matplotlib-venn)。

此命令可以从 IPython/Jupyter 笔记本单元运行,以 the bang 开头: !pip install matplotlib-venn

关于python - 安装 matplotlib-venn,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28092976/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com