User:SinggihAP: Difference between revisions

From WikiAP
Jump to navigation Jump to search
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Enable Python Environment =
<code>source path/bin/activate</code>
= How To Use Conda (Miniconda3)=
= How To Use Conda (Miniconda3)=


=== Create a new environment: ===
=== Create a new environment: ===
Line 15: Line 18:
<code>conda install package_name</code>
<code>conda install package_name</code>


<i><b>Replace package_name with the name of the package you want to install.</b></i>
'#' <i><b>Replace package_name with the name of the package you want to install.</b></i>


=== List all environments: ===
=== List all environments: ===

Latest revision as of 12:17, 6 June 2025

Enable Python Environment[edit]

source path/bin/activate

How To Use Conda (Miniconda3)[edit]

Create a new environment:[edit]

conda create --name myenv

Activate an environment:[edit]

conda activate myenv
source activate myenv

Deactivate the current environment:[edit]

conda deactivate

Install a package:[edit]

conda install package_name

'#' Replace package_name with the name of the package you want to install.

List all environments:[edit]

conda env list

Remove an environment:[edit]

conda env remove --name myenv