Installing custom packages and libraries
Take simple steps to install the libraries required.
Mamba is a reimplementation of the Conda package manager in C++ and parallel downloading of repository data and package files using multi-threading.
At the same time, mamba utilize the same command line parser, package installation and deinstallation code and transaction verification routines as conda to stay as compatible as possible.
The mamba ecosystem also consists of quetz, an open source Conda package server and boa, a fast Conda package builder.

Installation

Execute them in Terminal (from the dedicated Terminal or terminal from VSCode or Jupyter)
Make sure one has activated CUDA environment.
1
conda activate cuda <version>
2
Eg: conda activate cuda101
Copied!
Use mamba to install libraries
1
mamba install -c conda-forge <package-name>
Copied!
For example: If you want to install a library named gdown, here's how you'll do it:
1
mamba install -c conda-forge gdown
Copied!

Installing Conda packages with mamba

Now you are ready to install packages with
1
mamba install xtensor-r -c conda-forge
Copied!

Managing Conda

Check the version of Conda by typing the following command
1
conda --version
Copied!
Go to Anaconda and look for the package that is required to be installed.
Install packages using the following command -
1
conda install -c conda-forge <package-name>
Copied!
For example: If you want to install a library named gdown, here's how you'll do it:
1
conda install -c conda-forge gdown
Copied!
Installing libraries on NimbleBox
🔧Troubleshooting: 'Reinstall the packages everytime I open the notebook' If you installed the libraries using pip, you may need to reinstall them every time you open a Jupyter Notebook. You will be able to solve this problem by installing with conda or mamba.
Last modified 1mo ago