ADDING LIBRAIRIES (PYTHON)
There’s a setup configuration of the Datalab that makes all the libraries be persistent. They never go away even if your Datalab is deleted. You could always come back and retrieve them as if you never left.
Python
The only thing you have to do when installing a package is:
pip3 install <package> --user
-
Exemple :
Here is the list of packages which are installed within the persistent configuration
If you want to install psycopg2 and psycopg2-binary for postgres use and make them permanent
pip3 install psycopg2 psycopg2-binary --user
With the result :