Problem with conda
from dylanmorgan@slrpnk.net to python@programming.dev on 27 Jan 2024 01:51
https://slrpnk.net/post/6152516

I recently picked up the python mastery bundle from humble bundle and one of the books (about larger-scale projects) has its exercises built around using anaconda virtual environments. I am able to create a project using:

% conda create -n project0 —channel=conda-forge python=3.12

But when I try to activate project0 I get an error that “activate” is an invalid choice. When I tried to initialize conda for Bash, my terminal behaved like the default echo for typed characters turned off.

#python

threaded - newest

xurxia@mander.xyz on 28 Jan 2024 22:39 next collapse

What command did you use to activate project0?

dylanmorgan@slrpnk.net on 28 Jan 2024 23:01 collapse
conda activate project0
xurxia@mander.xyz on 29 Jan 2024 22:01 collapse

I don’t use conda actually (I did in the past), but I think you could try:

conda shell.bash activate project0

You must see the paths and config used to activate the environment. Check all is fine.

Source: docs.conda.io/projects/conda/…/activation.html

conorm@feddit.uk on 29 Jan 2024 22:53 collapse

have you tried writing it in C?