Re: [sage-devel] Re: conda sage

2024-03-22 Thread C B
Sage in conda-forge is still 10.2

William Stein schrieb am Mittwoch, 13. März 2024 um 17:41:19 UTC+1:

> With switching to Miniforge it is now working for me extremely well.  I’m 
> going to be making a new video and tutorial about this soon.  Thanks for 
> all you do Isuru!
>
> -- William Stein
>
>
> On Wed, Mar 13, 2024 at 9:11 AM Isuru Fernando  wrote:
>
>> Hi William,
>>
>> Let me know if you have any questions regarding conda installation of 
>> sage.
>> It'd be great to have more visibility towards conda installation to 
>> attract more
>> users and developers in particular who can help out.
>>
>> Thanks,
>> Isuru
>>
>> On Sun, Mar 10, 2024 at 7:37 PM William Stein  wrote:
>>
>>> Minor correction -- they say "Given its wide usage, there are no plans 
>>> to deprecate Mambaforge."  So Mambaforge isn't deprecated as I incorrectly 
>>> wrote.  It's just "discouraged".
>>>
>>> I'm sorry for the noise, but the *conda* packaging ecosystem makes me 
>>> dizzy...
>>>
>>> On Sun, Mar 10, 2024 at 5:31 PM William Stein  wrote:
>>>
 I was just carefully reading the page about Mambaforge linked to from 
 Sage, i.e., this page

 https://github.com/conda-forge/miniforge

 and it says that Mambaforge is deprecated and no longer recommended, 
 and instead people should install Miniforge, i.e., "(Discouraged as of 
 September 2023)".  We should update the instructions at 


 https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge

 since they recommend the now discouraged Mambaforge.

 The page https://github.com/conda-forge/miniforge suggests that 
 Mambaforge is somehow "just as good", but when I tried doing clean 
 installs, then installing Sage, I had the best experience (i.e., 
 completely 
 perfect!) with Miniforge, which is what they recommend.  Basically, we 
 should instead recommend:

 curl -L -O 
 https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname
  
 -m).sh

 sh Miniforge3-$(uname)-$(uname -m).sh -b -u -p /conda

 -- William

 On Sun, Mar 10, 2024 at 4:05 PM William Stein  wrote:

> Hi,
>
> So I was using MicroMamba, whereas that page says Sage only 
> supports Mambaforge, Miniforge, Miniconda or Anaconda.I tried with 
> Mambaforge (as recommended there) and everything works perfectly, with 
> sage-10.2 being available, and nicely integrated with the conda 
> ecosystem, 
> and also it's easy to switch Python versions.  So I'll switch from using 
> MicroMamba to Mambaforge.  Problem solved. 
>
> William
>
> On Sun, Mar 10, 2024 at 1:47 PM William Stein  
> wrote:
>
>>
>>
>> On Sun, Mar 10, 2024 at 1:39 PM Matthias Koeppe  
>> wrote:
>>
>>> William, do the instructions in our Installation Guide work for you?
>>>  
>>> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>>>   
>>>
>>
>>> Note in particular this step: "Change channel priority to strict: 
>>> conda config --set channel_priority strict"
>>>
>>
>> I'm using micromamba, which is supposed to be a drop in replacement 
>> for conda, but it just gives an error for the above, so maybe it is 
>> missing 
>> critical features needed to install sage:
>>
>> ---
>>
>> (compute-server-1540) ~/anaconda$ micromamba config --set 
>> channel_priority strict
>> The following arguments were not expected: strict channel_priority 
>> --set
>> Run with --help for more information.
>>
>> ---
>>
>> I'll revisit whether I need to switch to another conda...
>>
>> That said micromamba has strict by default:  
>> https://github.com/mamba-org/provision-with-micromamba/issues/33
>>
>> (compute-server-1540) ~/anaconda$ micromamba config --set 
>> channel_priority strict --help
>> Configuration of micromamba
>> Usage: /usr/local/bin/micromamba config [OPTIONS] [SUBCOMMAND]
>>
>> Options:
>>   -h,--help   Print this help message and exit
>>
>>
>> Configuration options:
>>   --rc-file TEXT ...  Paths to the configuration files to use
>>   --no-rc Disable the use of configuration files
>>   --no-envDisable the use of environment variables
>>
>>
>> Global options:
>>   -v,--verboseSet verbosity (higher verbosity with 
>> multiple -v, e.g. -vvv)
>>   --log-level ENUM:value in 
>> {critical->5,debug->1,error->4,info->2,off->6,trace->0,warning->3} OR 
>> {5,1,4,2,6,0,3}
>>   Set the log level
>>   -q,--quiet  Set quiet mode (print less output)
>>   -y,--yesAutomatically answer yes on prompted 
>

Re: [sage-devel] Re: conda sage

2024-03-13 Thread William Stein
With switching to Miniforge it is now working for me extremely well.  I’m
going to be making a new video and tutorial about this soon.  Thanks for
all you do Isuru!

-- William Stein


On Wed, Mar 13, 2024 at 9:11 AM Isuru Fernando  wrote:

> Hi William,
>
> Let me know if you have any questions regarding conda installation of sage.
> It'd be great to have more visibility towards conda installation to
> attract more
> users and developers in particular who can help out.
>
> Thanks,
> Isuru
>
> On Sun, Mar 10, 2024 at 7:37 PM William Stein  wrote:
>
>> Minor correction -- they say "Given its wide usage, there are no plans to
>> deprecate Mambaforge."  So Mambaforge isn't deprecated as I incorrectly
>> wrote.  It's just "discouraged".
>>
>> I'm sorry for the noise, but the *conda* packaging ecosystem makes me
>> dizzy...
>>
>> On Sun, Mar 10, 2024 at 5:31 PM William Stein  wrote:
>>
>>> I was just carefully reading the page about Mambaforge linked to from
>>> Sage, i.e., this page
>>>
>>> https://github.com/conda-forge/miniforge
>>>
>>> and it says that Mambaforge is deprecated and no longer recommended, and
>>> instead people should install Miniforge, i.e., "(Discouraged as of
>>> September 2023)".  We should update the instructions at
>>>
>>>
>>> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>>>
>>> since they recommend the now discouraged Mambaforge.
>>>
>>> The page https://github.com/conda-forge/miniforge suggests that
>>> Mambaforge is somehow "just as good", but when I tried doing clean
>>> installs, then installing Sage, I had the best experience (i.e., completely
>>> perfect!) with Miniforge, which is what they recommend.  Basically, we
>>> should instead recommend:
>>>
>>> curl -L -O
>>> https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname
>>> -m).sh
>>>
>>> sh Miniforge3-$(uname)-$(uname -m).sh -b -u -p /conda
>>>
>>> -- William
>>>
>>> On Sun, Mar 10, 2024 at 4:05 PM William Stein  wrote:
>>>
 Hi,

 So I was using MicroMamba, whereas that page says Sage only
 supports Mambaforge, Miniforge, Miniconda or Anaconda.I tried with
 Mambaforge (as recommended there) and everything works perfectly, with
 sage-10.2 being available, and nicely integrated with the conda ecosystem,
 and also it's easy to switch Python versions.  So I'll switch from using
 MicroMamba to Mambaforge.  Problem solved.

 William

 On Sun, Mar 10, 2024 at 1:47 PM William Stein  wrote:

>
>
> On Sun, Mar 10, 2024 at 1:39 PM Matthias Koeppe <
> matthiaskoe...@gmail.com> wrote:
>
>> William, do the instructions in our Installation Guide work for you?
>>
>> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>>
>>
>
>> Note in particular this step: "Change channel priority to strict:
>> conda config --set channel_priority strict"
>>
>
> I'm using micromamba, which is supposed to be a drop in replacement
> for conda, but it just gives an error for the above, so maybe it is 
> missing
> critical features needed to install sage:
>
> ---
>
> (compute-server-1540) ~/anaconda$ micromamba config --set
> channel_priority strict
> The following arguments were not expected: strict channel_priority
> --set
> Run with --help for more information.
>
> ---
>
> I'll revisit whether I need to switch to another conda...
>
> That said micromamba has strict by default:
> https://github.com/mamba-org/provision-with-micromamba/issues/33
>
> (compute-server-1540) ~/anaconda$ micromamba config --set
> channel_priority strict --help
> Configuration of micromamba
> Usage: /usr/local/bin/micromamba config [OPTIONS] [SUBCOMMAND]
>
> Options:
>   -h,--help   Print this help message and exit
>
>
> Configuration options:
>   --rc-file TEXT ...  Paths to the configuration files to use
>   --no-rc Disable the use of configuration files
>   --no-envDisable the use of environment variables
>
>
> Global options:
>   -v,--verboseSet verbosity (higher verbosity with
> multiple -v, e.g. -vvv)
>   --log-level ENUM:value in
> {critical->5,debug->1,error->4,info->2,off->6,trace->0,warning->3} OR
> {5,1,4,2,6,0,3}
>   Set the log level
>   -q,--quiet  Set quiet mode (print less output)
>   -y,--yesAutomatically answer yes on prompted
> questions
>   --json  Report all output as json
>   --offline   Force use cached repodata
>   --dry-run   Only display what would have been done
>   --download-only Only download and extract packages

Re: [sage-devel] Re: conda sage

2024-03-13 Thread Isuru Fernando
Hi William,

Let me know if you have any questions regarding conda installation of sage.
It'd be great to have more visibility towards conda installation to attract
more
users and developers in particular who can help out.

Thanks,
Isuru

On Sun, Mar 10, 2024 at 7:37 PM William Stein  wrote:

> Minor correction -- they say "Given its wide usage, there are no plans to
> deprecate Mambaforge."  So Mambaforge isn't deprecated as I incorrectly
> wrote.  It's just "discouraged".
>
> I'm sorry for the noise, but the *conda* packaging ecosystem makes me
> dizzy...
>
> On Sun, Mar 10, 2024 at 5:31 PM William Stein  wrote:
>
>> I was just carefully reading the page about Mambaforge linked to from
>> Sage, i.e., this page
>>
>> https://github.com/conda-forge/miniforge
>>
>> and it says that Mambaforge is deprecated and no longer recommended, and
>> instead people should install Miniforge, i.e., "(Discouraged as of
>> September 2023)".  We should update the instructions at
>>
>>
>> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>>
>> since they recommend the now discouraged Mambaforge.
>>
>> The page https://github.com/conda-forge/miniforge suggests that
>> Mambaforge is somehow "just as good", but when I tried doing clean
>> installs, then installing Sage, I had the best experience (i.e., completely
>> perfect!) with Miniforge, which is what they recommend.  Basically, we
>> should instead recommend:
>>
>> curl -L -O
>> https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname
>> -m).sh
>>
>> sh Miniforge3-$(uname)-$(uname -m).sh -b -u -p /conda
>>
>> -- William
>>
>> On Sun, Mar 10, 2024 at 4:05 PM William Stein  wrote:
>>
>>> Hi,
>>>
>>> So I was using MicroMamba, whereas that page says Sage only
>>> supports Mambaforge, Miniforge, Miniconda or Anaconda.I tried with
>>> Mambaforge (as recommended there) and everything works perfectly, with
>>> sage-10.2 being available, and nicely integrated with the conda ecosystem,
>>> and also it's easy to switch Python versions.  So I'll switch from using
>>> MicroMamba to Mambaforge.  Problem solved.
>>>
>>> William
>>>
>>> On Sun, Mar 10, 2024 at 1:47 PM William Stein  wrote:
>>>


 On Sun, Mar 10, 2024 at 1:39 PM Matthias Koeppe <
 matthiaskoe...@gmail.com> wrote:

> William, do the instructions in our Installation Guide work for you?
>
> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>
>

> Note in particular this step: "Change channel priority to strict:
> conda config --set channel_priority strict"
>

 I'm using micromamba, which is supposed to be a drop in replacement for
 conda, but it just gives an error for the above, so maybe it is missing
 critical features needed to install sage:

 ---

 (compute-server-1540) ~/anaconda$ micromamba config --set
 channel_priority strict
 The following arguments were not expected: strict channel_priority --set
 Run with --help for more information.

 ---

 I'll revisit whether I need to switch to another conda...

 That said micromamba has strict by default:
 https://github.com/mamba-org/provision-with-micromamba/issues/33

 (compute-server-1540) ~/anaconda$ micromamba config --set
 channel_priority strict --help
 Configuration of micromamba
 Usage: /usr/local/bin/micromamba config [OPTIONS] [SUBCOMMAND]

 Options:
   -h,--help   Print this help message and exit


 Configuration options:
   --rc-file TEXT ...  Paths to the configuration files to use
   --no-rc Disable the use of configuration files
   --no-envDisable the use of environment variables


 Global options:
   -v,--verboseSet verbosity (higher verbosity with
 multiple -v, e.g. -vvv)
   --log-level ENUM:value in
 {critical->5,debug->1,error->4,info->2,off->6,trace->0,warning->3} OR
 {5,1,4,2,6,0,3}
   Set the log level
   -q,--quiet  Set quiet mode (print less output)
   -y,--yesAutomatically answer yes on prompted
 questions
   --json  Report all output as json
   --offline   Force use cached repodata
   --dry-run   Only display what would have been done
   --download-only Only download and extract packages, do
 not link them into environment.
   --experimental  Enable experimental features


 Prefix options:
   -r,--root-prefix TEXT   Path to the root prefix
   -p,--prefix TEXTPath to the target prefix
   --relocate-prefix TEXT  Path to the relocation prefix
   -n,--name TEXT  Name of the target prefix


Re: [sage-devel] Re: conda sage

2024-03-10 Thread William Stein
Minor correction -- they say "Given its wide usage, there are no plans to
deprecate Mambaforge."  So Mambaforge isn't deprecated as I incorrectly
wrote.  It's just "discouraged".

I'm sorry for the noise, but the *conda* packaging ecosystem makes me
dizzy...

On Sun, Mar 10, 2024 at 5:31 PM William Stein  wrote:

> I was just carefully reading the page about Mambaforge linked to from
> Sage, i.e., this page
>
> https://github.com/conda-forge/miniforge
>
> and it says that Mambaforge is deprecated and no longer recommended, and
> instead people should install Miniforge, i.e., "(Discouraged as of
> September 2023)".  We should update the instructions at
>
>
> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>
> since they recommend the now discouraged Mambaforge.
>
> The page https://github.com/conda-forge/miniforge suggests that
> Mambaforge is somehow "just as good", but when I tried doing clean
> installs, then installing Sage, I had the best experience (i.e., completely
> perfect!) with Miniforge, which is what they recommend.  Basically, we
> should instead recommend:
>
> curl -L -O
> https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname
> -m).sh
>
> sh Miniforge3-$(uname)-$(uname -m).sh -b -u -p /conda
>
> -- William
>
> On Sun, Mar 10, 2024 at 4:05 PM William Stein  wrote:
>
>> Hi,
>>
>> So I was using MicroMamba, whereas that page says Sage only
>> supports Mambaforge, Miniforge, Miniconda or Anaconda.I tried with
>> Mambaforge (as recommended there) and everything works perfectly, with
>> sage-10.2 being available, and nicely integrated with the conda ecosystem,
>> and also it's easy to switch Python versions.  So I'll switch from using
>> MicroMamba to Mambaforge.  Problem solved.
>>
>> William
>>
>> On Sun, Mar 10, 2024 at 1:47 PM William Stein  wrote:
>>
>>>
>>>
>>> On Sun, Mar 10, 2024 at 1:39 PM Matthias Koeppe <
>>> matthiaskoe...@gmail.com> wrote:
>>>
 William, do the instructions in our Installation Guide work for you?

 https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge


>>>
 Note in particular this step: "Change channel priority to strict: conda
 config --set channel_priority strict"

>>>
>>> I'm using micromamba, which is supposed to be a drop in replacement for
>>> conda, but it just gives an error for the above, so maybe it is missing
>>> critical features needed to install sage:
>>>
>>> ---
>>>
>>> (compute-server-1540) ~/anaconda$ micromamba config --set
>>> channel_priority strict
>>> The following arguments were not expected: strict channel_priority --set
>>> Run with --help for more information.
>>>
>>> ---
>>>
>>> I'll revisit whether I need to switch to another conda...
>>>
>>> That said micromamba has strict by default:
>>> https://github.com/mamba-org/provision-with-micromamba/issues/33
>>>
>>> (compute-server-1540) ~/anaconda$ micromamba config --set
>>> channel_priority strict --help
>>> Configuration of micromamba
>>> Usage: /usr/local/bin/micromamba config [OPTIONS] [SUBCOMMAND]
>>>
>>> Options:
>>>   -h,--help   Print this help message and exit
>>>
>>>
>>> Configuration options:
>>>   --rc-file TEXT ...  Paths to the configuration files to use
>>>   --no-rc Disable the use of configuration files
>>>   --no-envDisable the use of environment variables
>>>
>>>
>>> Global options:
>>>   -v,--verboseSet verbosity (higher verbosity with
>>> multiple -v, e.g. -vvv)
>>>   --log-level ENUM:value in
>>> {critical->5,debug->1,error->4,info->2,off->6,trace->0,warning->3} OR
>>> {5,1,4,2,6,0,3}
>>>   Set the log level
>>>   -q,--quiet  Set quiet mode (print less output)
>>>   -y,--yesAutomatically answer yes on prompted
>>> questions
>>>   --json  Report all output as json
>>>   --offline   Force use cached repodata
>>>   --dry-run   Only display what would have been done
>>>   --download-only Only download and extract packages, do not
>>> link them into environment.
>>>   --experimental  Enable experimental features
>>>
>>>
>>> Prefix options:
>>>   -r,--root-prefix TEXT   Path to the root prefix
>>>   -p,--prefix TEXTPath to the target prefix
>>>   --relocate-prefix TEXT  Path to the relocation prefix
>>>   -n,--name TEXT  Name of the target prefix
>>>
>>> Subcommands:
>>>   listList configuration values
>>>   sources Show configuration sources
>>>   describeDescribe given configuration parameters
>>>   prepend Add one configuration value to the
>>> beginning of a list key
>>>   append  Add one configuration value to the end of
>>> a list key
>>>   remove-key

Re: [sage-devel] Re: conda sage

2024-03-10 Thread William Stein
I was just carefully reading the page about Mambaforge linked to from Sage,
i.e., this page

https://github.com/conda-forge/miniforge

and it says that Mambaforge is deprecated and no longer recommended, and
instead people should install Miniforge, i.e., "(Discouraged as of
September 2023)".  We should update the instructions at

https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge

since they recommend the now discouraged Mambaforge.

The page https://github.com/conda-forge/miniforge suggests that Mambaforge
is somehow "just as good", but when I tried doing clean installs, then
installing Sage, I had the best experience (i.e., completely perfect!) with
Miniforge, which is what they recommend.  Basically, we should instead
recommend:

curl -L -O
https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname
-m).sh

sh Miniforge3-$(uname)-$(uname -m).sh -b -u -p /conda

-- William

On Sun, Mar 10, 2024 at 4:05 PM William Stein  wrote:

> Hi,
>
> So I was using MicroMamba, whereas that page says Sage only
> supports Mambaforge, Miniforge, Miniconda or Anaconda.I tried with
> Mambaforge (as recommended there) and everything works perfectly, with
> sage-10.2 being available, and nicely integrated with the conda ecosystem,
> and also it's easy to switch Python versions.  So I'll switch from using
> MicroMamba to Mambaforge.  Problem solved.
>
> William
>
> On Sun, Mar 10, 2024 at 1:47 PM William Stein  wrote:
>
>>
>>
>> On Sun, Mar 10, 2024 at 1:39 PM Matthias Koeppe 
>> wrote:
>>
>>> William, do the instructions in our Installation Guide work for you?
>>>
>>> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>>>
>>>
>>
>>> Note in particular this step: "Change channel priority to strict: conda
>>> config --set channel_priority strict"
>>>
>>
>> I'm using micromamba, which is supposed to be a drop in replacement for
>> conda, but it just gives an error for the above, so maybe it is missing
>> critical features needed to install sage:
>>
>> ---
>>
>> (compute-server-1540) ~/anaconda$ micromamba config --set
>> channel_priority strict
>> The following arguments were not expected: strict channel_priority --set
>> Run with --help for more information.
>>
>> ---
>>
>> I'll revisit whether I need to switch to another conda...
>>
>> That said micromamba has strict by default:
>> https://github.com/mamba-org/provision-with-micromamba/issues/33
>>
>> (compute-server-1540) ~/anaconda$ micromamba config --set
>> channel_priority strict --help
>> Configuration of micromamba
>> Usage: /usr/local/bin/micromamba config [OPTIONS] [SUBCOMMAND]
>>
>> Options:
>>   -h,--help   Print this help message and exit
>>
>>
>> Configuration options:
>>   --rc-file TEXT ...  Paths to the configuration files to use
>>   --no-rc Disable the use of configuration files
>>   --no-envDisable the use of environment variables
>>
>>
>> Global options:
>>   -v,--verboseSet verbosity (higher verbosity with
>> multiple -v, e.g. -vvv)
>>   --log-level ENUM:value in
>> {critical->5,debug->1,error->4,info->2,off->6,trace->0,warning->3} OR
>> {5,1,4,2,6,0,3}
>>   Set the log level
>>   -q,--quiet  Set quiet mode (print less output)
>>   -y,--yesAutomatically answer yes on prompted
>> questions
>>   --json  Report all output as json
>>   --offline   Force use cached repodata
>>   --dry-run   Only display what would have been done
>>   --download-only Only download and extract packages, do not
>> link them into environment.
>>   --experimental  Enable experimental features
>>
>>
>> Prefix options:
>>   -r,--root-prefix TEXT   Path to the root prefix
>>   -p,--prefix TEXTPath to the target prefix
>>   --relocate-prefix TEXT  Path to the relocation prefix
>>   -n,--name TEXT  Name of the target prefix
>>
>> Subcommands:
>>   listList configuration values
>>   sources Show configuration sources
>>   describeDescribe given configuration parameters
>>   prepend Add one configuration value to the
>> beginning of a list key
>>   append  Add one configuration value to the end of a
>> list key
>>   remove-key  Remove a configuration key and its values
>>   remove  Remove a configuration value from a list
>> key. This removes all instances of the value.
>>   set Set a configuration value
>>   get Get a configuration value
>>
>>
>>>
>>>
>>>
>>> On Sunday, March 10, 2024 at 12:36:47 PM UTC-7 William Stein wrote:
>>>
 Hi,

 I just tried installing sage via conda and it's broken.   Am I doing
 someth

Re: [sage-devel] Re: conda sage

2024-03-10 Thread William Stein
Hi,

So I was using MicroMamba, whereas that page says Sage only
supports Mambaforge, Miniforge, Miniconda or Anaconda.I tried with
Mambaforge (as recommended there) and everything works perfectly, with
sage-10.2 being available, and nicely integrated with the conda ecosystem,
and also it's easy to switch Python versions.  So I'll switch from using
MicroMamba to Mambaforge.  Problem solved.

William

On Sun, Mar 10, 2024 at 1:47 PM William Stein  wrote:

>
>
> On Sun, Mar 10, 2024 at 1:39 PM Matthias Koeppe 
> wrote:
>
>> William, do the instructions in our Installation Guide work for you?
>>
>> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>>
>>
>
>> Note in particular this step: "Change channel priority to strict: conda
>> config --set channel_priority strict"
>>
>
> I'm using micromamba, which is supposed to be a drop in replacement for
> conda, but it just gives an error for the above, so maybe it is missing
> critical features needed to install sage:
>
> ---
>
> (compute-server-1540) ~/anaconda$ micromamba config --set channel_priority
> strict
> The following arguments were not expected: strict channel_priority --set
> Run with --help for more information.
>
> ---
>
> I'll revisit whether I need to switch to another conda...
>
> That said micromamba has strict by default:
> https://github.com/mamba-org/provision-with-micromamba/issues/33
>
> (compute-server-1540) ~/anaconda$ micromamba config --set channel_priority
> strict --help
> Configuration of micromamba
> Usage: /usr/local/bin/micromamba config [OPTIONS] [SUBCOMMAND]
>
> Options:
>   -h,--help   Print this help message and exit
>
>
> Configuration options:
>   --rc-file TEXT ...  Paths to the configuration files to use
>   --no-rc Disable the use of configuration files
>   --no-envDisable the use of environment variables
>
>
> Global options:
>   -v,--verboseSet verbosity (higher verbosity with
> multiple -v, e.g. -vvv)
>   --log-level ENUM:value in
> {critical->5,debug->1,error->4,info->2,off->6,trace->0,warning->3} OR
> {5,1,4,2,6,0,3}
>   Set the log level
>   -q,--quiet  Set quiet mode (print less output)
>   -y,--yesAutomatically answer yes on prompted
> questions
>   --json  Report all output as json
>   --offline   Force use cached repodata
>   --dry-run   Only display what would have been done
>   --download-only Only download and extract packages, do not
> link them into environment.
>   --experimental  Enable experimental features
>
>
> Prefix options:
>   -r,--root-prefix TEXT   Path to the root prefix
>   -p,--prefix TEXTPath to the target prefix
>   --relocate-prefix TEXT  Path to the relocation prefix
>   -n,--name TEXT  Name of the target prefix
>
> Subcommands:
>   listList configuration values
>   sources Show configuration sources
>   describeDescribe given configuration parameters
>   prepend Add one configuration value to the beginning
> of a list key
>   append  Add one configuration value to the end of a
> list key
>   remove-key  Remove a configuration key and its values
>   remove  Remove a configuration value from a list
> key. This removes all instances of the value.
>   set Set a configuration value
>   get Get a configuration value
>
>
>>
>>
>>
>> On Sunday, March 10, 2024 at 12:36:47 PM UTC-7 William Stein wrote:
>>
>>> Hi,
>>>
>>> I just tried installing sage via conda and it's broken.   Am I doing
>>> something wrong, or is there any automated testing of sage in conda (which
>>> might be a good thing to have)?  I was going to publicize sage+conda in a
>>> post I was about to make, but won't...
>>>
>>> 1. Install mambaforge into Ubuntu
>>> 2. Add conda-forge channel
>>> 3. Install the "sage" package.
>>> 4. It appears to install but is broken, evidently maybe due to a libgsl
>>> dependency (not sure):
>>>
>>> user@compute-server-1540:anaconda$ sage -sh
>>> ...
>>> (sage-sh) user@compute-server-1540:anaconda$ python
>>> Python 3.11.6 | packaged by conda-forge | (main, Oct  3 2023, 10:40:35)
>>> [GCC 12.3.0] on linux
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import sage.all
>>> Traceback (most recent call last):
>>>   File "", line 1, in 
>>>   File "/conda/envs/default/lib/python3.11/site-packages/sage/all.py",
>>> line 75, in 
>>> from sage.misc.all   import * # takes a while
>>> ^
>>>   File
>>> "/conda/envs/default/lib/python3.11/site-packages/sage/misc/all.py", line
>>> 62, in 
>>> from .functional import (additive_order,
>>>   Fi

Re: [sage-devel] Re: conda sage

2024-03-10 Thread Matthias Koeppe
I suppose you can try instead using the switch "--rc-file" with the rc-file 
provided by Sage in 
https://github.com/sagemath/sage/blob/develop/condarc.yml

On Sunday, March 10, 2024 at 1:48:15 PM UTC-7 William Stein wrote:

> On Sun, Mar 10, 2024 at 1:39 PM Matthias Koeppe  
> wrote:
>
>> William, do the instructions in our Installation Guide work for you?
>>  
>> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>>   
>>
>
>> Note in particular this step: "Change channel priority to strict: conda 
>> config --set channel_priority strict"
>>
>
> I'm using micromamba, which is supposed to be a drop in replacement for 
> conda, but it just gives an error for the above, so maybe it is missing 
> critical features needed to install sage:
>
> ---
>
> (compute-server-1540) ~/anaconda$ micromamba config --set channel_priority 
> strict
> The following arguments were not expected: strict channel_priority --set
> Run with --help for more information.
>
> ---
>
> I'll revisit whether I need to switch to another conda...
>
> That said micromamba has strict by default:  
> https://github.com/mamba-org/provision-with-micromamba/issues/33
>
> (compute-server-1540) ~/anaconda$ micromamba config --set channel_priority 
> strict --help
> Configuration of micromamba
> Usage: /usr/local/bin/micromamba config [OPTIONS] [SUBCOMMAND]
>
> Options:
>   -h,--help   Print this help message and exit
>
>
> Configuration options:
>   --rc-file TEXT ...  Paths to the configuration files to use
>   --no-rc Disable the use of configuration files
>   --no-envDisable the use of environment variables
>
>
> Global options:
>   -v,--verboseSet verbosity (higher verbosity with 
> multiple -v, e.g. -vvv)
>   --log-level ENUM:value in 
> {critical->5,debug->1,error->4,info->2,off->6,trace->0,warning->3} OR 
> {5,1,4,2,6,0,3}
>   Set the log level
>   -q,--quiet  Set quiet mode (print less output)
>   -y,--yesAutomatically answer yes on prompted 
> questions
>   --json  Report all output as json
>   --offline   Force use cached repodata
>   --dry-run   Only display what would have been done
>   --download-only Only download and extract packages, do not 
> link them into environment.
>   --experimental  Enable experimental features
>
>
> Prefix options:
>   -r,--root-prefix TEXT   Path to the root prefix
>   -p,--prefix TEXTPath to the target prefix
>   --relocate-prefix TEXT  Path to the relocation prefix
>   -n,--name TEXT  Name of the target prefix
>
> Subcommands:
>   listList configuration values
>   sources Show configuration sources
>   describeDescribe given configuration parameters
>   prepend Add one configuration value to the beginning 
> of a list key
>   append  Add one configuration value to the end of a 
> list key
>   remove-key  Remove a configuration key and its values
>   remove  Remove a configuration value from a list 
> key. This removes all instances of the value.
>   set Set a configuration value
>   get Get a configuration value
>  
>
>>
>>
>>
>> On Sunday, March 10, 2024 at 12:36:47 PM UTC-7 William Stein wrote:
>>
>>> Hi,
>>>
>>> I just tried installing sage via conda and it's broken.   Am I doing 
>>> something wrong, or is there any automated testing of sage in conda (which 
>>> might be a good thing to have)?  I was going to publicize sage+conda in a 
>>> post I was about to make, but won't...
>>>
>>> 1. Install mambaforge into Ubuntu
>>> 2. Add conda-forge channel
>>> 3. Install the "sage" package.
>>> 4. It appears to install but is broken, evidently maybe due to a libgsl 
>>> dependency (not sure):
>>>
>>> user@compute-server-1540:anaconda$ sage -sh
>>> ...
>>> (sage-sh) user@compute-server-1540:anaconda$ python
>>> Python 3.11.6 | packaged by conda-forge | (main, Oct  3 2023, 10:40:35) 
>>> [GCC 12.3.0] on linux
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import sage.all
>>> Traceback (most recent call last):
>>>   File "", line 1, in 
>>>   File "/conda/envs/default/lib/python3.11/site-packages/sage/all.py", 
>>> line 75, in 
>>> from sage.misc.all   import * # takes a while
>>> ^
>>>   File 
>>> "/conda/envs/default/lib/python3.11/site-packages/sage/misc/all.py", line 
>>> 62, in 
>>> from .functional import (additive_order,
>>>   File 
>>> "/conda/envs/default/lib/python3.11/site-packages/sage/misc/functional.py", 
>>> line 26, in 
>>> from sage.rings.complex_double import CDF
>>> ImportError: libgsl.so.25: cannot open shared object fi

Re: [sage-devel] Re: conda sage

2024-03-10 Thread William Stein
On Sun, Mar 10, 2024 at 1:39 PM Matthias Koeppe 
wrote:

> William, do the instructions in our Installation Guide work for you?
>
> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#install-from-conda-forge
>
>

> Note in particular this step: "Change channel priority to strict: conda
> config --set channel_priority strict"
>

I'm using micromamba, which is supposed to be a drop in replacement for
conda, but it just gives an error for the above, so maybe it is missing
critical features needed to install sage:

---

(compute-server-1540) ~/anaconda$ micromamba config --set channel_priority
strict
The following arguments were not expected: strict channel_priority --set
Run with --help for more information.

---

I'll revisit whether I need to switch to another conda...

That said micromamba has strict by default:
https://github.com/mamba-org/provision-with-micromamba/issues/33

(compute-server-1540) ~/anaconda$ micromamba config --set channel_priority
strict --help
Configuration of micromamba
Usage: /usr/local/bin/micromamba config [OPTIONS] [SUBCOMMAND]

Options:
  -h,--help   Print this help message and exit


Configuration options:
  --rc-file TEXT ...  Paths to the configuration files to use
  --no-rc Disable the use of configuration files
  --no-envDisable the use of environment variables


Global options:
  -v,--verboseSet verbosity (higher verbosity with multiple
-v, e.g. -vvv)
  --log-level ENUM:value in
{critical->5,debug->1,error->4,info->2,off->6,trace->0,warning->3} OR
{5,1,4,2,6,0,3}
  Set the log level
  -q,--quiet  Set quiet mode (print less output)
  -y,--yesAutomatically answer yes on prompted questions
  --json  Report all output as json
  --offline   Force use cached repodata
  --dry-run   Only display what would have been done
  --download-only Only download and extract packages, do not
link them into environment.
  --experimental  Enable experimental features


Prefix options:
  -r,--root-prefix TEXT   Path to the root prefix
  -p,--prefix TEXTPath to the target prefix
  --relocate-prefix TEXT  Path to the relocation prefix
  -n,--name TEXT  Name of the target prefix

Subcommands:
  listList configuration values
  sources Show configuration sources
  describeDescribe given configuration parameters
  prepend Add one configuration value to the beginning
of a list key
  append  Add one configuration value to the end of a
list key
  remove-key  Remove a configuration key and its values
  remove  Remove a configuration value from a list key.
This removes all instances of the value.
  set Set a configuration value
  get Get a configuration value


>
>
>
> On Sunday, March 10, 2024 at 12:36:47 PM UTC-7 William Stein wrote:
>
>> Hi,
>>
>> I just tried installing sage via conda and it's broken.   Am I doing
>> something wrong, or is there any automated testing of sage in conda (which
>> might be a good thing to have)?  I was going to publicize sage+conda in a
>> post I was about to make, but won't...
>>
>> 1. Install mambaforge into Ubuntu
>> 2. Add conda-forge channel
>> 3. Install the "sage" package.
>> 4. It appears to install but is broken, evidently maybe due to a libgsl
>> dependency (not sure):
>>
>> user@compute-server-1540:anaconda$ sage -sh
>> ...
>> (sage-sh) user@compute-server-1540:anaconda$ python
>> Python 3.11.6 | packaged by conda-forge | (main, Oct  3 2023, 10:40:35)
>> [GCC 12.3.0] on linux
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import sage.all
>> Traceback (most recent call last):
>>   File "", line 1, in 
>>   File "/conda/envs/default/lib/python3.11/site-packages/sage/all.py",
>> line 75, in 
>> from sage.misc.all   import * # takes a while
>> ^
>>   File
>> "/conda/envs/default/lib/python3.11/site-packages/sage/misc/all.py", line
>> 62, in 
>> from .functional import (additive_order,
>>   File
>> "/conda/envs/default/lib/python3.11/site-packages/sage/misc/functional.py",
>> line 26, in 
>> from sage.rings.complex_double import CDF
>> ImportError: libgsl.so.25: cannot open shared object file: No such file
>> or directory
>> >>>
>> sage:
>>
>> (compute-server-1540) ~/anaconda$ sage
>> ┌┐
>> │ SageMath version 10.1, Release Date: 2023-08-20│
>> │ Using Python 3.11.6. Type "help()" for help.   │
>> └┘
>> ┏━━━