My day job is all about #Python (which I love). Here are some personal rules, specific to working with Python projects:

* Do **not** install or modify global tools, especially Python itself or any packages. This means a given system might not even **have** a global Python
* Always use virtual environments (`uv` agrees with me, and doesn't need this but). I always set the global environment variable `PIP_REQUIRE_VIRTUALENV`.
* The two rules above mean my virtual environment contains (not via a link, it's really there) Python itself (and of course, of the right version)
* Virtual environments always live **inside** a project directory. Never global.
* Activate virtual environments only **inside** the project directory (`direnv` #direnv makes this easy)
* Don't install (let alone use) #Anaconda, #Miniconda, or #Mamba, because those violate all the rules above (but see the next rule)
* Anaconda-based packages implies a `pixi` #Pixi project (it's the same people, but a better answer, and you still get what you want -- the correct packages)
* No Anaconda-based packages implies a `uv` #UV project
* Always use `pyproject.toml` #pyprojecttoml over any other config file (e.g., `requirements.txt` #requirementstxt), except where things just don't work, such as needing `pyrefly.toml`
* `uv`, `pixi`, and `direnv` must exist outside of any project, so install them at the user level, or else globally if and only if that is appropriate and compelling enough to override rule one

That was a wall of text, but in practice doing it this way is trivial. It's probably **less** work than you have been doing. This post is just about managing your Python versions, environments, and projects. Not about, e.g., using `pre-commit` #precommit, or doing type checking, etc. But if you follow these rules, your work will be easier, faster, more adaptable, and encounter fewer obstacles.

#HowTo

The radian console built in Python for #Rstats is dead

conda install radian
It doesn't install on either Python 3.13.5 or 3.12

It does install on Python 3.11.13, but the error appears:
lib/libstdc++.so.6: version GLIBCXX_3.4.30' not found
http://github.com/randy3k/radian

software libre #AnacondaPython #Miniconda #Anaconda

GitHub - randy3k/radian: A 21 century R console

A 21 century R console. Contribute to randy3k/radian development by creating an account on GitHub.

GitHub

After recent license changes at #Anaconda, Inc., #Miniforge has become the recommended, fully open solution for institutional #Python environments. Now bundling both #conda and #mamba, it replaces #Miniconda/ #Mambaforge, ensuring high performance and broad package access via #CondaForge. Here I summarized the key changes and migration steps:

🌍 https://www.fabriziomusacchio.com/blog/2025-07-03-miniforge/

#Python #DataScience #OpenSource

Des problèmes de licence rendent l'usage de #conda peu sûr à l'Université d'un point de vue juridique (suite à un changement de CGU en mars 2024 qui rend la solution payante pour les firmes de + de 200 ETP) https://mamot.fr@[email protected]/114476678505453616 ) Préférez les alternatives libres (#Miniconda pour des petits projets, sinon passer par le channel conda-forge pour ne charger avec conda que des packages open source) #Python. https://www.cdotrends.com/story/4173/anaconda-threatens-legal-action-over-licensing-terms
Anaconda Threatens Legal Action Over Licensing Terms

And sues Intel over its AI software.

CDOTrends
I think it's quite problematic on #Linux to start off with regular ol' #Python that came with the system (i.e. /usr/bin/python), and then as you go installing some packages (i.e. on the #AUR if you're on #ArchLinux) which will then install some Python libraries using it, and then you start using something like #Conda or #Miniconda whereby subsequent package installations or updates may be installing these libraries on the Conda environment (i.e. ~/miniconda3/python) and not the system, so there's some overlap there or so? I'm wondering what's the best way of moving forward from this point - esp since sometime ago, it's no longer possible to raw pip install <package> anymore for wtv reason.
Anaconda vs Miniconda vs Mamba

Comparison of Anaconda, Miniconda and Mamba packaging systems for python

Technical news about AI, coding and all
@berkes , I use #miniconda (docs.anaconda.com/miniconda/) and it makes everything much easier. Just create an environment, put everything you need there (via pip or conda commands) and that's it. You can even have more environments, with completely different libraries.
Miniconda — Anaconda documentation

#Conda is still driving me crazy.🙈
The confusion is actually perfect...
Conda is actually a package manager.
But then there is also #Anaconda and #Miniconda as package managers.

Both Miniconda and Anaconda install conda.
Then there is #mamba A reimplementation of Conda in C++. There is also #Micromamba...but no #Minimamba...

#bioinformatics

🥴 🐍

@ashwinvis I have heard that #Anaconda is starting to shakedown larger academic institutes (most easily exceed the 200 employee threshold) using the default channel - at least one is looking at blocking use via their firewall as part of avoiding this!

Time to switch from #MiniConda etc to #MiniForge https://github.com/conda-forge/miniforge where the #CondaForge channel is set as the default (and only) channel.

GitHub - conda-forge/miniforge: A conda-forge distribution.

A conda-forge distribution. Contribute to conda-forge/miniforge development by creating an account on GitHub.

GitHub
Anyone out there use #miniconda and #gitBash on Windows? I opened up VSCode to do a bit of python work for the first time in a couple of months and all of the paths for my miniconda seem to have swapped "Users/alastairte/" for "Userslastairte" and no idea why. It worked fine last time, my .bash_profile looks fine and bash actually opens up with the base conda enviroment activated (just can't use any "conda" commands).