Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197585

Re: Conda create with python version fails me

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Martin Schöön <martin.schoon@gmail.com>
Newsgroups comp.lang.python
Subject Re: Conda create with python version fails me
Date 17 Nov 2025 22:14:20 GMT
Organization @ Home
Lines 51
Message-ID <mo1l1sFn4m3U1@mid.individual.net> (permalink)
References <mnlq39Fn8m1U1@mid.individual.net> <87zf8qdxm5.fsf@zedat.fu-berlin.de> <mnp17dF96k7U1@mid.individual.net> <conda-20251114173013@ram.dialup.fu-berlin.de>
X-Trace individual.net EJ3JnpKlaLYsd7SzkJGbgQgY7ZbRNF8N6S+XHUxgIfuqD5ZlWs
Cancel-Lock sha1:c0zt7RCPJVa3IFZ8zj+defrgzq8= sha256:z2yLkAW0wg5Zp+k1QpEQXKy/WxNsw/vie8FXYMQmuB8=
User-Agent slrn/1.0.3 (Linux)
Xref csiph.com comp.lang.python:197585

Show key headers only | View raw


Den 2025-11-14 skrev Stefan Ram <ram@zedat.fu-berlin.de>:
> Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar


Thread

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