The platform’s built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.
If you need to use other versions of CUDA or cuDNN, you can easily set up the required environment in just a few steps using Miniconda. We recommend choosing the Miniconda image when creating an instance (it does not come with any deep learning frameworks pre-installed, keeping the runtime environment clean and avoiding unnecessary issues).The following example demonstrates how to use Conda to set up an environment for TensorFlow 1.15.0.
If you need to install the virtual environment on a data disk, please refer to the method described at the end of the document.
conda create -n tf python=3.7 # Create a virtual environment named "tf"conda init bash && source /root/.bashrc # Update the environment variables in bashrcconda activate tf # Switch to the created virtual environment "tf"
Here is an example of installing TensorFlow 1.15.0.
bash
# After switching to the Conda virtual environmentconda install tensorflow-gpu==1.15.0# Conda will automatically resolve and install the required CUDA and cuDNN versions for TensorFlow 1.15.0
python
# Simple test using Python after installationimport tensorflow as tfhello = tf.constant('Hello, TensorFlow!')sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))print(sess.run(hello))
How to Use the New Conda Environment in JupyterLab Notebook
bash
# Create a new Conda virtual environment (skip if already created)conda create -n tf python=3.7 # Create a virtual environment named "tf"conda init bash && source /root/.bashrc # Update the environment variables in bashrc# Add the new Conda virtual environment to JupyterLabconda activate tf # Switch to the created virtual environment "tf"conda install ipykernel # Install ipykernel to enable kernel integrationipython kernel install --user --name=tf # Set up the kernel for the environment, with "tf" as the kernel name
After executing the above commands, if you create a new Notebook, you can select the Notebook named “tf”.If it is an existing Notebook
# Clear the installed environmentconda deactivate # Exit the current (tf) environment and return to the base environmentconda remove -n tf --all # Remove the tf environment
Installing the Virtual Environment to the Data Disk
Execute the following commands to set up the virtual environment installation path to /root/guphub-tmp/conda/envs and the package cache path to /root/guphub-tmp/conda/pkgs:
# Check if the configured paths are in the file contentcat /root/.condarc
Cancelling the Configuration for Installing Virtual Environment to the Data DiskEdit the /root/.condarc file and delete the lines corresponding to the configured paths.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mint Starter Kit","description":"GPUhub Documentation","colors":{"primary":"#964CEF","light":"#C493FF","dark":"#6F27C5"},"logo":{"light":"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/light.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=aac94265738621a43d2d2a5afabe6f38","dark":"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/dark.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=c7adcf4558f6b6c73111f89fbcb71cb2"},"favicon":"https://mintcdn.com/gpuhub/swpOJzF6Pn2RHDvu/favicon.svg?fit=max\u0026auto=format\u0026n=swpOJzF6Pn2RHDvu\u0026q=85\u0026s=506e325d2301a7ffe9c2336439347e47","appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@gpuhub.com","label":"Support"}],"primary":{"type":"button","label":"Console","href":"https://gpuhub.com/"}},"footer":{"socials":{"x":"https://x.com/gpuhubnews","github":"https://github.com/gpuhub-source","linkedin":"https://www.linkedin.com/company/106417537","discord":"https://discord.gg/PVdwkynM75","youtube":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}},"search":{"prompt":"Select the GPU suits your purpose and scenario"},"integrations":{"ga4":{"measurementId":"G-KDSJ905XX7"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/PVdwkynM75"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/+x1igBQ49Z0NkN2E1"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/hub_gpu"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gpuhub","hasAudioNarration":false,"actualSubdomain":"gpuhub","customDomains":["docs.gpuhub.com"],"gitSource":{"type":"github","owner":"narwal99","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae1c36d8a46f6fe5a22603e","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"AI Gateway","count":22},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Best Practices","count":19},{"language":"default","tag":"LLMs","count":15},{"language":"default","tag":"Instance","count":13},{"language":"default","tag":"Elastic Deployment","count":9},{"language":"default","tag":"FAQ","count":8},{"language":"default","tag":"Frequently Asked Question","count":8},{"language":"default","tag":"Terms of Service","count":8},{"language":"default","tag":"Tools \u0026 Environment","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".max-w-8xl{max-width:100%!important}.pl-4{text-transform:uppercase}.eyebrow{text-transform:uppercase}"}],"page":{"pagePath":"environment/miniconda","slug":"/environment/miniconda","pageMetadata":{"title":"Miniconda","description":"The platform's built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.","href":"/environment/miniconda"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The platform’s built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`If you need to use other versions of CUDA or cuDNN, you can easily set up the required environment in just a few steps using Miniconda. We recommend `,_jsx(_components.strong,{children:`choosing the Miniconda image when creating an instance`}),` (it does not come with any deep learning frameworks pre-installed, keeping the runtime environment clean and avoiding unnecessary issues).`]}),`\n`,_jsx(_components.p,{children:`The following example demonstrates how to use Conda to set up an environment for TensorFlow 1.15.0.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`If you need to install the virtual environment on a data disk, please refer to the method described at the end of the document.`})}),`\n`,_jsx(Heading,{level:`2`,id:`creating-a-virtual-environment`,children:`Creating a Virtual Environment`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.7`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Create a virtual environment named \"tf\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` init`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bash`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026 `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`source`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/.bashrc`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Update the environment variables in bashrc`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` activate`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tf`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Switch to the created virtual environment \"tf\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`installing-software-dependencies`,children:`Installing Software Dependencies`}),`\n`,_jsx(_components.p,{children:`Here is an example of installing TensorFlow 1.15.0.`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# After switching to the Conda virtual environment`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tensorflow-gpu==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.15.0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Conda will automatically resolve and install the required CUDA and cuDNN versions for TensorFlow 1.15.0`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`python`,numberOfLines:`5`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Simple test using Python after installation`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` tensorflow `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` tf`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hello `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` tf.constant(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Hello, TensorFlow!'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`sess `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` tf.Session(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`tf.ConfigProto(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`log_device_placement`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(sess.run(hello))`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`switching-the-notebook-environment`,children:`Switching the Notebook Environment`}),`\n`,_jsx(_components.p,{children:`How to Use the New Conda Environment in JupyterLab Notebook`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create a new Conda virtual environment (skip if already created)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.7`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Create a virtual environment named \"tf\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` init`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bash`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026 `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`source`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/.bashrc`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Update the environment variables in bashrc`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Add the new Conda virtual environment to JupyterLab`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` activate`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tf`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Switch to the created virtual environment \"tf\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ipykernel`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Install ipykernel to enable kernel integration`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ipython`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` kernel`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --user`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name=tf`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Set up the kernel for the environment, with \"tf\" as the kernel name`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`After executing the above commands, if you create a new Notebook, you can select the Notebook named “tf”.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr.png?fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=01ca64169ef267e91bc6bce7441b1991`,alt:``,\"data-og-width\":`1677`,width:`1677`,\"data-og-height\":`899`,height:`899`,\"data-path\":`images/env-miniconda-notebook-tr.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr.png?w=280\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=8f98373f0d16896698f9291386d6040b 280w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr.png?w=560\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=954a30f93a9e4b222ccb9f95ee384f6e 560w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr.png?w=840\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=b55f257cf1604e46862e5e10b7715729 840w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=eccbda11c0aaed02ff3226fee8c74571 1100w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=8387bcbabfc5d66d7cd194db51b7ff77 1650w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=61a378a68dd762fd20eea91340e5fb6a 2500w`}),`\n`,_jsx(_components.p,{children:`If it is an existing Notebook`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr-2.png?fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=2e894659abbb1afc407d5e42e7c93b13`,alt:``,\"data-og-width\":`1680`,width:`1680`,\"data-og-height\":`904`,height:`904`,\"data-path\":`images/env-miniconda-notebook-tr-2.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr-2.png?w=280\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=f1e300485922887d4dbd03617f6c8cce 280w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr-2.png?w=560\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=3c15ea4d3ca379243d1ca41f3a710e02 560w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr-2.png?w=840\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=5a24c39dd846a9aed7d2c6ea98b3f928 840w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr-2.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=ac74ec6de5bb9d099bfc182bd6a1f131 1100w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr-2.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=dd044fc99d9f4173f4fa0be420c359da 1650w, https://mintcdn.com/gpuhub/yLmjMPcqL-OhC9CD/images/env-miniconda-notebook-tr-2.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yLmjMPcqL-OhC9CD\u0026q=85\u0026s=36021bf34bfac5b4dac5990c22569737 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`clearing-the-conda-virtual-environment`,children:`Clearing the Conda Virtual Environment`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Clear the installed environment`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deactivate`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Exit the current (tf) environment and return to the base environment`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` remove`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tf`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --all`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Remove the tf environment`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`deleting-installation-packages-and-cache`,children:`Deleting Installation Packages and Cache`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` clean`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -y`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --all`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`installing-the-virtual-environment-to-the-data-disk`,children:`Installing the Virtual Environment to the Data Disk`}),`\n`,_jsxs(_components.p,{children:[`Execute the following commands to set up the virtual environment installation path to `,_jsx(_components.code,{children:`/root/guphub-tmp/conda/envs`}),` and the package cache path to `,_jsx(_components.code,{children:`/root/guphub-tmp/conda/pkgs`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mkdir`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/gpuhub-tmp/conda/pkgs`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` config`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pkgs_dirs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/gpuhub-tmp/conda/pkgs`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mkdir`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/gpuhub-tmp/conda/envs`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` config`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` envs_dirs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/gpuhub-tmp/conda/envs`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Verifying the Configuration`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check if the configured paths are in the file content`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/.condarc`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Cancelling the Configuration for Installing Virtual Environment to the Data Disk`}),`\n`,_jsxs(_components.p,{children:[`Edit the `,_jsx(_components.code,{children:`/root/.condarc`}),` file and delete the lines corresponding to the configured paths.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Miniconda","description":"The platform's built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.","href":"/environment/miniconda"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Creating a Virtual Environment","slug":"creating-a-virtual-environment","depth":2,"children":[]},{"title":"Installing Software Dependencies","slug":"installing-software-dependencies","depth":2,"children":[]},{"title":"Switching the Notebook Environment","slug":"switching-the-notebook-environment","depth":2,"children":[]},{"title":"Clearing the Conda Virtual Environment","slug":"clearing-the-conda-virtual-environment","depth":2,"children":[]},{"title":"Deleting Installation Packages and Cache","slug":"deleting-installation-packages-and-cache","depth":2,"children":[]},{"title":"Installing the Virtual Environment to the Data Disk","slug":"installing-the-virtual-environment-to-the-data-disk","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/gpuhub/1b3d72170abac531/package/index.js"],"subdomain":"gpuhub","siteName":"Mint Starter Kit","title":"Miniconda - Mint Starter Kit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-30T11:51:06.156Z","originalFileLocation":"environment/miniconda.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The platform\u0026#x27;s built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Miniconda - Mint Starter Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"The platform\u0026#x27;s built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gpuhub.com/environment/miniconda\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gpuhub.mintlify.site/_mintlify/api/og/v2?division=Environment+Configuration\u0026amp;title=Miniconda\u0026amp;description=The+platform%27s+built-in+images+all+come+with+Miniconda+installed%2C+and+the+installation+path+is+%2Froot%2Fminiconda3%2F.\u0026amp;theme=4706c09e24807f6fe5a1ec81\u0026amp;signature=0ff7d312c83a3226a2da5974aeb70ac55e10f346f3f1bb7fa496c82d076b31c8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Miniconda - Mint Starter Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The platform\u0026#x27;s built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gpuhub.mintlify.site/_mintlify/api/og/v2?division=Environment+Configuration\u0026amp;title=Miniconda\u0026amp;description=The+platform%27s+built-in+images+all+come+with+Miniconda+installed%2C+and+the+installation+path+is+%2Froot%2Fminiconda3%2F.\u0026amp;theme=4706c09e24807f6fe5a1ec81\u0026amp;signature=0ff7d312c83a3226a2da5974aeb70ac55e10f346f3f1bb7fa496c82d076b31c8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#964CEF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gpuhub.com/environment/miniconda\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/environment/miniconda.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gpuhub.com/#organization\",\"name\":\"Mint Starter Kit\",\"url\":\"https://docs.gpuhub.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/light.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=aac94265738621a43d2d2a5afabe6f38\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gpuhub.com#website\",\"name\":\"Mint Starter Kit\",\"url\":\"https://docs.gpuhub.com\",\"publisher\":{\"@id\":\"https://docs.gpuhub.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gpuhub.com/environment/miniconda#webpage\",\"url\":\"https://docs.gpuhub.com/environment/miniconda\",\"name\":\"Miniconda\",\"description\":\"The platform's built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.\",\"dateModified\":\"2025-10-30T11:51:06.156Z\",\"isPartOf\":{\"@id\":\"https://docs.gpuhub.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gpuhub.com/environment/miniconda#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gpuhub.com/environment/miniconda#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Environment Configuration\",\"item\":\"https://docs.gpuhub.com/environment/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Miniconda\",\"item\":\"https://docs.gpuhub.com/environment/miniconda\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gpuhub.com/environment/miniconda#article\",\"headline\":\"Miniconda\",\"name\":\"Miniconda\",\"description\":\"The platform's built-in images all come with Miniconda installed, and the installation path is /root/miniconda3/.\",\"url\":\"https://docs.gpuhub.com/environment/miniconda\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gpuhub.com/environment/miniconda#webpage\"},\"dateModified\":\"2025-10-30T11:51:06.156Z\",\"publisher\":{\"@id\":\"https://docs.gpuhub.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gpuhub.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mint Starter Kit\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Mint Starter Kit","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/PVdwkynM75"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/+x1igBQ49Z0NkN2E1"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/hub_gpu"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Instance","pages":[{"title":"Instance","href":"/container-instance/overview"}]},{"tab":"Data","pages":[{"title":"Data","href":"/data/local-data-disk"}]},{"tab":"Environment","groups":[{"group":"Environment Configuration","pages":[{"title":"Overview","href":"/environment/overview"},{"title":"Dependency Installation","href":"/environment/dependency-installation"},{"title":"Docker Image","href":"/environment/image"},{"title":"Python 3.X","href":"/environment/python3-x"},{"title":"CUDA / cuDNN","description":"Install CUDA/cuDNN","href":"/environment/cuda-cudnn"},{"title":"Miniconda","href":"/environment/miniconda"},{"title":"PyTorch for Blackwell","description":"Using RTX PRO 6000 / RTX 5090 GPUs with PyTorch","href":"/environment/pytorch280"}]}]},{"tab":"Best Practices","pages":[{"title":"Best Practices","href":"/best-practices/sub-account"}]},{"tab":"Elastic Deployment","pages":[{"title":"Elastic Deployment","href":"/elastic-deployment/elastic-deployment"}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/api-authentication"}]},{"tab":"AI Gateway","pages":[{"title":"AI Gateway","href":"/ai-gateway/ai-gateway"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/faqs/system-disk-space-insufficient"}]}]},"basePath":"","title":"Miniconda - Mint Starter Kit","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DkE6VzSN.js","lightbox-handle-r17bVUz3.js"]}