Can't install ggplot with anaconda
(I am aware of this question Can't install ggplot with anaconda , but this targets Windows and I am running Linux OS)
I am trying to install a package ggplot
in an python3
Anaconda environment (v3.6.0):
$ conda install ggplot
Fetching package metadata .............
PackageNotFoundError: Package missing in current linux-64 channels:
- ggplot
Close matches found; did you mean one of these?
ggplot: r-ggplot2, r-gplots
If I use conda search
I get:
$ conda search ggplot
Fetching package metadata .............
r-ggplot2 1.0.0 0 defaults
1.0.0 0a defaults
1.0.1 r3.2.2_0 defaults
1.0.1 r3.2.0_0 defaults
1.0.1 r3.2.1_0 defaults
1.0.1 r3.2.1_0a defaults
1.0.1 r3.2.2_0a defaults
1.0.1 r3.2.0_0a defaults
2.1.0 r3.3.1_0 defaults
2.2.0 r3.3.1_0 defaults
2.2.0 r3.3.2_0 defaults
but if I search https://anaconda.org/search for ggplot
, I get a lot of results .
Questions: Why can't I see these results when using it conda search
? What is the difference between ggplot
and r-ggplot2
(the package it suggests to install when searching ggplot
)?
source to share
Why can't I see these results when using it
conda search
?
The difference for search is that it conda search
only searches your channels, anaconda search
or anaconda.org search includes all (public) channels. The name before the package name is a pipe, for example xyz/ggplot
xyz
a pipe.
What is the difference between
ggplot
andr-ggplot2
This is probably a naming convention. anaconda
has multiple packagesR
, and they probably separate them with a prefix r-
from the more regular python packages. Therefore, if you are not planning on using it with "R", you should probably look for a suitable candidate without r-
.
source to share