我正在尝试用conda-forge安装ggplot。但它显示了一些特定的错误。详细信息错误消息如下所示。
(base) C:\Users\ASUS>conda install -c conda-forge ggplot=0.11.5Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failedUnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- ggplot=0.11.5 -> python[version='2.7.*|3.5.*|3.6.*|3.4.*']
Your python: python=3.7
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with your CUDA driver:
- feature:/win-64::__cuda==11.0=0
- feature:|@/win-64::__cuda==11.0=0
Your installed CUDA driver is: 11.0请帮助我解决任何问题。
发布于 2020-06-02 13:34:33
我找到了一个包含所有ggplot函数的ggplot的替代品。我是plotnine。安装plotnine的步骤
# Using pip
$ pip install plotnine # 1. should be sufficient for most
$ pip install 'plotnine[all]' # 2. includes extra/optional packages
# Or using conda
$ conda install -c conda-forge plotnine有关使用指南,请访问https://plotnine.readthedocs.io/en/stable/index.html
发布于 2020-06-01 16:00:16
yhat's ggplot python port stopped in 2016的开发。它似乎只与Python3.7之前的pandas<0.22兼容,因此不适用于conda-forge上的python-3.7。
使用它的最简单方法是将其安装到使用python3.6解释器的环境中。
https://stackoverflow.com/questions/62125909
复制相似问题