![]() ![]() ![]() For example, if you wanted the "ads" package, it's available in the conda-forge channel. There are more conda package repositories (called channels) than the ones we have configured for you by default. What if the package I want isn't available through conda?įirst of all, it may be. This example shows all packages that have "ldap" in the name. You can also use wildcards in the package name if you aren't sure what it is called. You could also specify a particular version of the ldap3 package though that isn't usually what people want. Note: the '*' in the example command is a wildcard for the ldap3 package version. Here is an example searching for the ldap3 package but only if it works with Python 3.7. You can tell conda to return only packages which will work with a particular Python version. Here is an example searching for the ldap3 package. To see every version of the package, provide only the package name. $ conda install numpy=1.16.2 ldap3 How do I see what packages are available? bashrc file so it happens automatically every time you login. conda deactivate – deactivate an environmentįirst enable the conda command.conda activate – activate (use) an environment. ![]() conda list – show packages installed in an environment.conda remove – remove a package from an environment.conda install – add a package to an environment.conda env remove – remove an existing environment.You can add “-help” to the end of any conda command to get some help on how to use it. We are only listing a few of the more useful commands here. export an environment file that can be use to recreate the environment on a different system.clone an environment to experiment with before risking changes to your production environment.maintain different environments for different needs.avoid changes to packages because someone else on the system requested them.let conda worry about pulling in other packages that a package you want depends upon.install the packages you need without relying on an administrator.We highly recommend that researchers create Python environments for projects because it will give them a stable and reproducible place to run their code. A python environment is a version of Python and some associated Python packages. Conda is an open source system for managing Python environments. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |