I'm playing with Google Colaboratory, and noticed right off the bat that tqdm
is not pre-installed. Is there any way to install additional packages?
You can install the library in Google Drive. Then add the path to sys. path . Then you can install a library, for example, jdc , and specify the target.
Colab is a great tool for quickly testing Deep Learning models using the free GPU. However, one of its greatest shortcomings compared with Jupyter Notebooks is that you can't install a custom kernel. This means that you need to install all the packages you need every single time.
Colab environment comes with a number of pre-installed scientific and machine learning packages such as numpy, scipy, pandas, tensorflow, and pytorch.
Yup. You can use pip
or apt
to install packages as needed.
One example for pip
is in the welcome notebook:
!pip install -q matplotlib-venn
from matplotlib_venn import venn2
venn2(subsets = (3, 2, 1))
An example for apt
is in the snippets:
!apt update && apt install -y libfluidsynth1
In the case of tdqm, !pip install tqdm
worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With