Search notes:

Conda

List available environments

conda env list
conda info --envs
It seems that environments are stored under ~/miniconda3/envs, but see also ~/.conda/environments.txt

Switching to a given environment

conda activate ‥

Exiting an environment

(base) $ conda deactivate
$

Removing an environment

conda env remove --name pypi-preparation

Create a new environment and install packages in one go

conda create --name pypi-preparation  build twine -y
Then‥
conda activate pypi-preparation

No pip after creating a new environment ?!?!

(base) $ conda create -n renes-modules
(base) $ conda activate renes-modules
No more pip:
(renes-modules) $ which pip
pip needs to be installed:
(renes-modules) $ conda install pip

List all packages in the current environment

conda list

TODO

/home/rene/miniconda3/bin vs /home/rene/miniconda3/condabin

Environment variables:

CONDA_EXE /home/rene/miniconda3/bin/conda
CONDA_PREFIX /home/rene/miniconda3
CONDA_PROMPT_MODIFIER (base)
_CE_CONDA
CONDA_SHLVL 1
CONDA_PYTHON_EXE /home/rene/miniconda3/bin/python
CONDA_DEFAULT_ENV base
Why does conda modify ~/.bashrc? Is this necessary and/or can it be turned off?

See also

~/miniconda3, ~/.conda, ~/.condarc
package manager

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/Linux/pa...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/pa...', 1788332022, '216.73.217.21', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/package-managers/Conda/index(105): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51