You might try a hack like

 ./sage --pip install pytest pytest-xdist pytest-mock

and see if it gets you anywhere



On Thu, Mar 5, 2026 at 3:39 PM James <[email protected]> wrote:

> I setup sage in docker container of ubuntu 24.04 with volume and it worked
> fine with env 3.13, but after installation I faced one issue that if I run
> like ./sage then it gives error of missing modules like if I ran ./sage -t
> --optional=pip,pygambit,sage it throws error attached below, but if I ran
> ./src/build/sage-runtests -t --optional=pip,pygambit,sage
> .src/sage/game_theory/normal_form_game.py then it works fine and tests ran.
> [image: image.png]
> I know this is some issue with the PATH and I tried some ways to fix it
> but its not working. Would be great if someone can help with this.
> Thank you for your time.
> James
>
> On Thu, Mar 5, 2026 at 10:26 PM James <[email protected]> wrote:
>
>> Also attaching meson-log for reference:
>>
>>
>> On Thu, Mar 5, 2026 at 10:21 PM James <[email protected]> wrote:
>>
>>> I actually done that twice because I was also feeling that may be
>>> there is some issue with conda environment activation but it is not indeed,
>>> and also I tried with environment 3.13 as well 3.12 and I got error
>>>
>>> LibMambaUnsatisfiableError: Encountered problems while solving:
>>>   - nothing provides __glibc >=2.39 needed by
>>> sysroot_linux-64-2.39-hc4b9eeb_5
>>>
>>> Could not solve for environment specs
>>> The following package could not be installed
>>> └─ sysroot_linux-64 ==2.39 hc4b9eeb_5 is not installable because it
>>> requires
>>>    └─ __glibc >=2.39 *, which is missing on the system.
>>>
>>> My system has glibc 2.35, so the solver cannot satisfy the sysroot
>>> requirement. (using wsl environment with ubuntu 22.04 lts (jammy)
>>> Now I am thinking of using docker sagemath/sagemath:develop and test
>>> there.
>>> (I think I had to upgrade wsl to may be 24 as it comes with libc
>>> 2.39/higher, but may be it can break existing things of mine).
>>>
>>>
>>> On Thu, Mar 5, 2026 at 10:00 PM '[email protected]' via sage-devel <
>>> [email protected]> wrote:
>>>
>>>> It may be that you the conda env is not activated correctly? Please try
>>>> `conda activate sage-dev` before running the pip command. Also, as Dima
>>>> said, I would advice to use the latest development branch and the env file
>>>> for Python 3.13.
>>>>
>>>> If all of this is not working, please post the meson-log.txt file (path
>>>> is towards the end of your screenshot)
>>>>
>>>> On Thursday, March 5, 2026 at 4:12:23 PM UTC+1 [email protected] wrote:
>>>>
>>>>> On March 5, 2026 6:42:15 AM CST, James <[email protected]> wrote:
>>>>>
>>>>>> I started setting up sage and as reference followed the
>>>>>> https://doc-develop--sagemath.netlify.app/html/en/developer/walkthrough.html,
>>>>>> I am using environment-3.11.yml
>>>>>>
>>>>>
>>>>> we don't support Python 3.11 any more, and environment-3.11.yml is
>>>>> gone from our betas -- which you should use for development, anyway.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> but  after I ran pip install --no-build-isolation -e . it fails
>>>>>> saying cpython is missing then I also installed that but after then like
>>>>>> each missing installation I do again fails (kinda chain of missing
>>>>>> packages), so do we require to install them manually, ig it should be
>>>>>> installed from environment-3.11.yml ? I thought to take help for this
>>>>>> before manually building using steps of make configure, ./configure and
>>>>>> make. I am attaching the error log image this is of cpython even after
>>>>>> installing then it gives of other missing package.
>>>>>> [image: image.png]
>>>>>> Thank you
>>>>>> James
>>>>>>
>>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "sage-devel" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion visit
>>>> https://groups.google.com/d/msgid/sage-devel/8241d82e-ea0d-49b3-a479-9ffc3f3b5f49n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/sage-devel/8241d82e-ea0d-49b3-a479-9ffc3f3b5f49n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/sage-devel/CALUuivnY-e89fVs3Qk8s%3DN%2Br_N9tUR%2BMrXOzBzhof8rxoXYaWg%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-devel/CALUuivnY-e89fVs3Qk8s%3DN%2Br_N9tUR%2BMrXOzBzhof8rxoXYaWg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2NiX_ihhdPCiy9CA2eLtamWB9NqPoDFupbiPND45cUxA%40mail.gmail.com.

Reply via email to