Hi, Chris.
You may want to look at this alternative created with the Nix package manager in a Mac.
I implemented it trivially, but it is supposed to do the same. Running nix-shell --pure in the root directory will create an environment where the only binaries visible in the PATH are the ones provided by the packages made explicit in the shell.nix file. Sorta like Python's virtualenv but potentially encompassing any package in the OS. You could add psycopg and voilà, jupyterlab speaks to postgresql all in a reproducible environment.
Look ma, no containers!
Hi, Chris.
You may want to look at this alternative created with the Nix package manager in a Mac.
I implemented it trivially, but it is supposed to do the same. Running
nix-shell --purein the root directory will create an environment where the only binaries visible in thePATHare the ones provided by the packages made explicit in theshell.nixfile. Sorta like Python'svirtualenvbut potentially encompassing any package in the OS. You could addpsycopgand voilà, jupyterlab speaks to postgresql all in a reproducible environment.Look ma, no containers!