Installing miniconda
I had some success to install miniconda like so:
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
~/miniconda3/bin/conda init bash
Create a new environment and install packages in one go
conda create --name pypi-preparation build twine -y
Then‥
conda activate pypi-preparation
Create an environment with a given python version
conda create -n py-3-12 python=3.12
No pip after creating a new environment with a specific python version (?)
Once, it seemed I had no pip anymore after installing a new environment. However, I was unable to reproduce this behavior with the follwoing command:
(base) $ conda create -n renes-modules python=3.14
(base) $ conda activate renes-modules
No more pip (not anymore)
(renes-modules) $ which pip
pip needs to be installed:
(renes-modules) $ conda install pip