744 B
744 B
categories | tags | |||
---|---|---|---|---|
|
|
Package management
-
It is better to use
conda
(the package manager that comes withanaconda
), since this makes it easier to work with conflicting package libraries (a bit like a package lock). -
The alternative is the native
pip
but you have to create virtual environments (venv
) to manage packages at different versions.It works a bit like this:
To make use of virtual environments in
pip
you have to create the virtual environment before installing anything:python3 -m venv venv3 source venv3/bin/activate pip [library_name]
-
pypi.org > is package registry like NPM