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

dependencies can become quite complex, and you want to be sure that your applications will continue to run, you need to check which other packages depend on this particular package. Unfortunately, the conda info command (described at https://conda.io/docs/commands/conda-info.html) tells you only about the package requirements — that is, what it depends on. Best practice is to keep packages installed after you’ve install them.
However, assuming that you really must remove the package, you use the conda remove command described at https://conda.io/docs/commands/conda-remove.html. This command removes the package that you specify, along with any packages that depend on this package. In this case, best practice is to use the --dry-run command-line switch first to ensure that you really do want to remove the package. For example, you may decide that you want to remove NumPy. In this case, you type conda remove --dry-run numpy and press Enter. The command won't actually execute; conda simply shows what would happen if you actually did run the command, as shown in Figure 11-15.
    
































































































   256   257   258   259   260