Installation of libraries
NimbleBox comes pre-installed with many common libraries but also offers flexibility to add most of the ML libraries in use today.To install libraries, you can use the pip command; a Python package manager included with NimbleBox.
NimbleBox makes the installation of libraries simple. You can install the libraries by running the following command.
pip install <package-name>
The above command will install the latest version of the package available on NimbleBox.
Install a specific version of a machine learning library by including the exact version after the package name.
pip install ‘<package-name>==<version-number>’
For example, you can use the following command to install nltk package of version 3.7
pip install nltk==3.7
To upgrade a specific library to a recent version,
pip install —upgrade <package-name>
Note that installation of any library will also consume storage space.
For example, you can use the following command to upgrade the nltk library
pip install --upgrade nltk
To uninstall any library, use the following command in the terminal
pip uninstall <package-name>
To uninstall any library using jupyter, use
pip uninstall <package-name> - y
-y confirms yes to uninstall the package on Jupyter.
We currently support Tensorflow 2.7.0. When installing any specific version of TensorFlow, make sure it is compatible with the CUDA 11.2
We do not currently support conda and mamba installations.
For example, you can use the following command to uninstall the nltk library.
pip uninstall nltk -y
Discover the top 10 python packages you won't want to miss in this must-read article!