[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572119-105":53,"doc-detail-572119-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","conda-cheatsheet-quick-start-environment-management-exportimport","Conda Cheatsheet - Quick Start - Environment Management - Export/Import","","Conda cheatsheet covering practical commands for setting up and maintaining Anaconda/Conda environments. Includes quick start steps to verify, update, and create environments, then activate them before installing packages. Provides guidance for managing channels and installing packages with specific channels or version constraints. Adds environment listing, package update/remove, cloning and restoring revisions, exporting and importing environments from YAML/TXT, and helpful options like cleaning caches and checking configuration.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/conda-cheatsheet-quick-start-environment-management-exportimport/572119/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/conda-cheatsheet-quick-start-environment-management-exportimport/572119.png","ImageObject",442,249,{"name":88,"@type":89},"ahduag","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",7,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"How do I verify Conda installation and check its version?","Question",{"text":109,"@type":110},"Use conda info to verify the installation and display the Conda version.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"What is the recommended way to activate a newly created Conda environment?",{"text":114,"@type":110},"Create the environment first (conda create - -name ENVNAME), then activate it with conda activate ENVNAME before installing packages.",{"name":116,"@type":107,"acceptedAnswer":117},"How can I export and later import a Conda environment?",{"text":118,"@type":110},"Export using conda env export --from-history> ENV .yml for YAML. Import from a .yml file with conda env create -n ENVNAME --file ENV .yml (or from a .txt file with conda create -n ENVNAME --file ENV . txt).","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},572119,1792360186,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":73,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":9},3985747870414,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","CHEATSHEET  \nQUICK START  \n| Tip: It is recommended to create a new environment for any new project or workflow. |  |\n| --- | --- |\n| verify conda install and check version | conda info |\n| update conda in base environment | conda update -n base conda |\n| install latest anaconda distribution (see release notes) | conda install anaconda=2022.05 |\n| create a new environment\u003Cbr>(tip: name environment descriptively) | conda create - -name ENVNAME |\n| activate environment\u003Cbr>(do this before installing packages) | conda activate ENVNAME |\n\n\n| CHANNELS AND PACKAGES |  |\n| --- | --- |\n| Tip: Package dependencies and platform specifics are automatically resolved when using conda. |  |\n| install packages from specified channel | conda install -c CHANNELNAME PKG1 PKG2 |\n| list installed packages | conda list |\n| uninstall package | conda uninstall PKGNAME |\n| update all packages | conda update --all |\n| install specific version of package | conda install PKGNAME= 3.1.4 |\n| install a package from specific channel | conda install CHANNELNAME :: PKGNAME |\n| install package with AND logic | conda install “PKGNAME>2.5 ,\u003C3.2” |\n| install package with OR logic | conda install “PKGNAME [version=’2.5 |3.2 ’]” |\n| list installed packages with source info | conda list - -show-channel-urls |\n| view channel sources | conda config - -show-sources |\n| add channel | conda config --add channels CHANNELNAME |\n| set default channel for pkg fetching\u003Cbr>(targets first channel in channel sources) | conda config - -set channel_priority strict |\n\nWORKING WITH CONDA ENVIRONMENTS  \n\n| Tip: List environments at the beginning of your session. Environments with an asterisk are active. |  |\n| --- | --- |\n| list all environments and locations | conda env list |\n| update all packages in environment | conda update --all - -name ENVNAME |\n| install packages in environment | conda install - -name ENVNAME PKG1 PKG2 |\n| remove package from environment | conda uninstall PKGNAME - -name ENVNAME |\n| reactivate base environment\u003Cbr>(recommended for end of session) | conda activate base |\n\nCHEATSHEET  \nENVIRONMENT MANAGEMENT  \n\n| Tip: Specifying the environment name confines conda commands to that environment. |  |\n| --- | --- |\n| list packages + source channels | conda list -n ENVNAME - -show-channel-urls |\n| uninstall package from specific channel | conda remove -n ENVNAME -c CHANNELNAME PKGNAME |\n| create environment with Python version | conda create -n ENVNAME python=3.10 |\n| clone environment | conda create - -clone ENVNAME -n NEWENV |\n| list revisions made to environment | conda list -n ENVNAME - -revisions |\n| restore environment to a revision | conda install -n ENVNAME - -revision NUMBER |\n| delete environment by name | conda remove -n ENVNAME --all |\n\nEXPORTING ENVIRONMENTS  \n| Recommendation: Name the export file “environment.” Environment name will be preserved. |  |\n| --- | --- |\n| cross-platform compatible | conda env export --from-history> ENV .yml |\n| platform + package specific | conda env export ENVNAME>ENV .yml |\n| platform + package + channel specific | conda list --explicit> ENV . txt |\n\nIMPORTING ENVIRONMENTS  \n| Tip: When importing an environment, conda resolves platform and package specifics. |  |\n| --- | --- |\n| from a .yml file | conda env create -n ENVNAME --file ENV .yml |\n| from a .txt file | conda create -n ENVNAME --file ENV . txt |\n\nADDITIONAL HINTS  \n\n| get help for any command | conda COMMAND --help |\n| --- | --- |\n| get info for any package | conda search PKGNAME - -info |\n| run commands w/o user prompt eg, installing multiple packages | conda COMMAND ARG --yes\u003Cbr>conda install PKG1 PKG2 --yes |\n| remove all unused files | conda clean --all |\n| examine conda configuration | conda config - -show |\n\nMORE RESOURCES  \nFull Conda Documentation Learning Resources Commuity Support Anaconda Support Portal Consulting Services  \n[conda.io](conda.io)  \n[anaconda.cloud](anaconda.cloud)[ ](anaconda.cloud)[community.anaconda.cloud](community.anaconda.cloud)[ ","cbCaifRHWlykrKT7","https://ap.wps.com/l/cbCaifRHWlykrKT7","pdf",345560,"English","# Quick Start\n## Channels and Packages\n# Working with Conda Environments\n## Environment Management\n## Exporting Environments\n## Importing Environments\n# Additional Hints\n# More Resources","[{\"question\":\"How do I verify Conda installation and check its version?\",\"answer\":\"Use conda info to verify the installation and display the Conda version.\"},{\"question\":\"What is the recommended way to activate a newly created Conda environment?\",\"answer\":\"Create the environment first (conda create - -name ENVNAME), then activate it with conda activate ENVNAME before installing packages.\"},{\"question\":\"How can I export and later import a Conda environment?\",\"answer\":\"Export using conda env export --from-history\\u003e ENV .yml for YAML. Import from a .yml file with conda env create -n ENVNAME --file ENV .yml (or from a .txt file with conda create -n ENVNAME --file ENV . txt).\"}]","Conda Cheatsheet - Quick Start - Environment Management - Export/Import | PDF",1791925656]