Page 253 - Beginning Programming with Pyth - John Paul Mueller
P. 253

 FIGURE 11-11: Searches output a lot more information than lists.
A number of flags exist to greatly increase the amount of information you receive. For example, when you use the --json flag, you obtain details such as a complete list of dependencies for the package, whether the package is completely installed, and a URL containing the location of the packages online. You can learn more about conda searches at https://conda.io/docs/commands/conda- search.html.
     USING
  Even though the
command is normally associated with environment information,
 you can also use it to work with packages. To discover the specifics of a particular package, you
  just add the package name, such as
conda info numpy
results in information overload, so you need to shorten it a little. One way to do this is to add a
. Unfortunately, using this command often
  version number after the package name separated by an equals (=) sign, such as
 for version 1.13.1 of the NumPy package.
numpy=1.13.1
conda info
info at
conda info
CONDA INFO
 In most cases, you don't receive any additional information using the --verbose switch with
 packages. However, using the --json switch can yield a little additional information, and this
 switch puts the information in a form that lets you easily manipulate the output using code, such
  as a script. The point is that you can use
conda info
to discover even more deep, dark secrets
 about your packages. You can learn more about
https://conda.io/docs/commands/conda-info.html.
Installing conda packages
conda
 







































































   251   252   253   254   255