How many stupid bugs. How many stupid bugs do we need to face???
- this fucking train-wreck cannot come up with a unified documented way of specifying dependencies:So basically
- stackoverflow.com/questions/14399534/reference-requirements-txt-for-the-install-requires-kwarg-in-setuptools-setup-py
- stackoverflow.com/questions/26900328/install-dependencies-from-setup-py
- stackoverflow.com/questions/30797124/how-to-use-setup-py-to-install-dependencies-only/63743115
- stackoverflow.com/questions/6947988/when-to-use-pip-requirements-file-versus-install-requires-in-setup-py
requirements.txt
is thepackage-lock.json
. But how to generate it cleanly? You would need to create a virtualenv? pip search
was disabled in 2020: stackoverflow.com/questions/17373473/how-do-i-search-for-an-available-python-package-using-pip. WTF. If server load is a problem, just create a token system! It is hard to understand how such a popular language can't rais enough money to keep such simple server functionality running.
Conda is like pip, except that it also manages shared library dependencies, including providing prebuilts.
This has made Conda very popular in the deep learning community around 2020, where using Python frontends like PyTorch to configure faster precompiled backends was extremely common.
It also means that it is a full package manager and extremely overbloated and blows up all the time. People should just use Docker instead for that kind of stuff: www.reddit.com/r/learnmachinelearning/comments/kd88p8/comment/keco07k/
You also have to buy a license to use their repos if you are part of a large-enough organization: stackoverflow.com/questions/74762863/are-conda-miniconda-and-anaconda-free-to-use-and-open-source
Tested on Ubuntu 20.04:Add to your and then to use it on a shell e.g. with Python 3.9 create the environment with:and then use it with:Now you can use
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
.bashrc
:PATH="$PATH:$HOME/miniconda3/bin"
conda create -y -n mytest3.9 python=3.9
eval "$(command conda 'shell.bash' 'hook' 2> /dev/null)"
conda activate mytest3.9
python
and pip
normally from inside that mytest3.9
environment.At that time, the exact installer under
latest
appears to have been: repo.anaconda.com/miniconda/Miniconda3-py311_23.11.0-2-Linux-x86_64.sh Articles by others on the same topic
There are currently no matching articles.