Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Loris Bennett" Newsgroups: comp.lang.python Subject: Re: Conda create with python version fails me Date: Thu, 13 Nov 2025 11:40:18 +0100 Organization: FUB-IT, Freie =?utf-8?Q?Universit=C3=A4t?= Berlin Lines: 62 Message-ID: <87zf8qdxm5.fsf@zedat.fu-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de kWwjXcIuxbf1HABCGFRPIwwSiYe9KBoMKx4Y1esaLNFMfq Cancel-Lock: sha1:OqcZEoBY/7MIiB8C7fO+O70cEKI= sha1:lsfTjr0rjVTeZwRmfvF0edQ73z4= sha256:gLQGVnlPHE41M2s5AZrR4Hj4vjO/A0LXbyqzbdS6YGo= User-Agent: Gnus/5.13 (Gnus v5.13) Xref: csiph.com comp.lang.python:197582 Hi Martin, Martin Schöön 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 python= > > 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.