![]() List all revisions made in a specified environment> conda list - name ENVNAME - revision List all revisions made within the active environment> conda list - revisions List all packages and versions in a named environment> conda list - name ENVNAME List all packages and versions in the active environment> conda list > conda update anaconda Working with EnvironmentsĬreate a new environment named ENVNAME with speccific version of Python and packages installed> conda create - name ENVNAME python=3.6 “PKG1>7.6” PKG2Īctivate a named Conda environment> conda activate ENVNAMĪctivate a Conda environment at a particular location on dis> conda activate /path/to/environment-dirĭeactivate current environment> conda deactivate Will install stable and compatible versions, not necessarily the very latest. Update all packages to the latest version of Anaconda. Update Conda to the current version> conda update -n base conda Verify Conda is installed, check version number> conda info Available in anaconda> conda env list Getting Started To remove environment> conda remove - name old_name - all Or > conda create - name python_v_3.6 - clone chatbot To rename environment> create - name new_name - clone old_name ![]() To check version of library> conda list lib name(tensorflow) To check list of libraries> conda list -n env name(chatbot) To install libraries> pip install library-name(nltk) To activate environment> activate chatbot To create new environment> conda create -n chatbot(give env name) python= 3.6 List of commonly used commands in anaconda Frequently Useful Commands Here, I’ve prepared cheatsheet for frequently used commands which will help you to create customize new environment, check current version, install different libraries in python/ jupyter notebook and many other things to do ………. When you installed Anaconda, you installed all these too.Ĭonda works on your command line interface such as Anaconda Prompt on Windows and terminal on macOS and Linux. Anaconda Individual Edition contains conda and Anaconda Navigator, as well as Python and hundreds of scientific packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |