How to use miniconda after installing it on Ubuntu?

After installing Miniconda, you can use it by following these steps:

  1. Open the terminal or command prompt window.
  2. Create a new Conda environment: You can create a new Conda environment (e.g. named myenv) using the following command:
conda create --name myenv
  1. Activate the Conda environment by using the following command:
conda activate myenv
  1. Install the necessary software packages: Use the conda command in a Conda environment to install the required software packages, such as:
conda install numpy
  1. You can run Python scripts or start a Jupyter Notebook in the active Conda environment.
  2. Exit the Conda environment: When you have finished your work, you can use the following command to exit the Conda environment:
conda deactivate

By following the above steps, you can easily use Miniconda to create and manage different Conda environments, and install the necessary packages for development or data analysis work.

Leave a Reply 0

Your email address will not be published. Required fields are marked *


广告
Closing in 10 seconds
bannerAds