Den 2025-11-14 skrev Stefan Ram <[email protected]>: > Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <[email protected]> wrote or quoted: >>If I try to specify a python version I don't get a new environment. The >>error message I get is: >>"The following packages are missing from the target environment: >> - python=3.10" >> (if I asked for version 3.10) > > I'm not educated in Conda. But here are some wild and untested > guesses what could be done: > Your conda know-how is most likely superior to mine :-)
> conda search python > > This might list the Python versions available. > Yields an error message very similar to the one cited above. > If the desired version does not appear, adding a channel known > to host older versions might help, like: > > conda create -n test python=3.10 -c conda-forge Bingo! This works for me. > > . It might help to update Conda: > > conda update conda > Was already up-to-date. Didn't bother testing the following. Later maybe. > . This should clear the Conda cache, but I don't know what you might > lose by doing it: > > conda clean --all > > . Check out your conda base and user PATH variables, and prioritize > Conda environments over system-wide Python installations. > > Check your system's networking/firewall configuration doesn't block > Conda's access to remote repositories. > > You could also try to require a more specific version you have, > like for example, "python=3.10.4", instead of, "python=3.10". > Many thanks. /Martin -- https://mail.python.org/mailman3//lists/python-list.python.org
