Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197582
| From | "Loris Bennett" <loris.bennett@fu-berlin.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Conda create with python version fails me |
| Date | 2025-11-13 11:40 +0100 |
| Organization | FUB-IT, Freie Universität Berlin |
| Message-ID | <87zf8qdxm5.fsf@zedat.fu-berlin.de> (permalink) |
| References | <mnlq39Fn8m1U1@mid.individual.net> |
Hi Martin, Martin Schöön <martin.schoon@gmail.com> writes: > About two years ago I moved from pip to conda. I have been happy with > conda until yesterday. > > I want to create a new environment using a specific python version > rather than leaving that to conda. Cheat-sheets and online conda > documentation tell me to use: > > conda create -n <name> python=<version number> > > like: > > conda create -n test python=3.10 > > Which in my case yields an error message saying python 3.10 is not > available in this environment. > > I have tried variations on the python specification: > > python==3.10.12 > python=3.10.12 > > To no avail. > > I think (!??!) I have managed to do this in the past. > > Any help is more than welcome. > > /Martin If I use an environment which provides Python 3.12 I can run both conda create -n test python=3.10 and conda create -n test python=3.14 I only get the error PackagesNotFoundError: The following packages are not available from current channels: if I do something I would expect to fail, like conda create -n test python=3.99 Do you see a line such as Collecting package metadata (repodata.json): done If not, maybe your repodata.json is not getting updated and the current one does not contain the Python version you are requesting. Regards Loris -- This signature is currently under constuction.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Conda create with python version fails me Martin Schöön <martin.schoon@gmail.com> - 2025-11-13 10:26 +0000
Re: Conda create with python version fails me "Loris Bennett" <loris.bennett@fu-berlin.de> - 2025-11-13 11:40 +0100
Re: Conda create with python version fails me Martin Schöön <martin.schoon@gmail.com> - 2025-11-14 15:46 +0000
Re: Conda create with python version fails me ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-14 16:31 +0000
Re: Conda create with python version fails me Martin Schöön <martin.schoon@gmail.com> - 2025-11-17 22:14 +0000
csiph-web