Are you not mixing up Python installed in Windows with Python installed in WSL?

In WSL terminal, what is the output of

   python3 

command?

What is the output of

   echo $PATH

command?





On 6 April 2025 04:52:03 GMT-05:00, "Léon Vaia" <leon.vaia.dm...@gmail.com> 
wrote:
>I already installed it, as python3, and it is Python 3.12. Actually I 
>already installed python3-setuptools as well. Why is it still building it 
>from source?
>
>Il giorno sabato 5 aprile 2025 alle 19:58:30 UTC+2 dim...@gmail.com ha 
>scritto:
>
>> Oh, this is yet another example of the harm caused by the presence of 
>> Python spkg, this time on Ubuntu in WSL.
>>
>> Can you install Python from the system (it has to be Python 3.11 or newer, 
>> possibly you need to use a ppa, if there is no official Python 3.11 package 
>> available),
>> and use it, instead of building Python from source as a part of the 
>> building process?
>>
>>
>>
>> On 5 April 2025 02:43:33 GMT-05:00, "Léon Vaia" <leon.va...@gmail.com> 
>> wrote:
>>
>>> I'm sorry, I initially couldn't manage to upload it. Now i copied the 
>>> content in a text file using cat.
>>>
>>> Il giorno sabato 5 aprile 2025 alle 03:37:56 UTC+2 dim...@gmail.com ha 
>>> scritto:
>>>
>>>> Please send the top level config.log too, as asked at the end of the log 
>>>> file you attached 
>>>>
>>>>
>>>> On 4 April 2025 19:02:18 GMT-05:00, "Léon Vaia" <leon.va...@gmail.com> 
>>>> wrote:
>>>>
>>>>> Dear Sage Development Team,
>>>>>
>>>>> I have an issue while building Sage from source.
>>>>> I'm doing it on a Dell XPS 13 on WSL with Ubuntu.
>>>>>
>>>>> I attach the log files.
>>>>> I'm given the following error:
>>>>>
>>>>> [setuptools-73.0.1] Using cached file 
>>>>> /home/leonv/sage/sage/upstream/setuptools-73.0.1-py3-none-any.whl
>>>>> [setuptools-73.0.1] Setting up build directory 
>>>>> /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/setuptools-73.0.1
>>>>> [setuptools-73.0.1] No stamp file for package 'setuptools' in 
>>>>> /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/var/lib/sage/installed
>>>>> [setuptools-73.0.1] No spkg-legacy-uninstall script; nothing to do
>>>>> [setuptools-73.0.1] [spkg-install] Staged wheel file, staged 
>>>>> /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/var/lib/sage/scripts/setuptools/spkg-requirements.txt
>>>>> [setuptools-73.0.1] Moving package files from temporary location 
>>>>> /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/setuptools-73.0.1/inst
>>>>>  
>>>>> to /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5
>>>>> [setuptools-73.0.1] [spkg-pipinst] 
>>>>> /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/bin/python3: 
>>>>> No 
>>>>> module named pip
>>>>> [setuptools-73.0.1] [spkg-pipinst] 
>>>>> /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/bin/python3: 
>>>>> No 
>>>>> module named pip
>>>>> [setuptools-73.0.1] [spkg-pipinst] Warning: installing with "python3 -m 
>>>>> pip install --verbose --no-index 
>>>>> --find-links=/home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/var/lib/sage/wheels
>>>>>  
>>>>> --disable-pip-version-check --isolated --no-cache-dir" failed. Retrying, 
>>>>> adding "--no-deps --ignore-installed --ignore-requires-python"
>>>>> [setuptools-73.0.1] [spkg-pipinst] 
>>>>> /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/bin/python3: 
>>>>> No 
>>>>> module named pip
>>>>> [setuptools-73.0.1] [spkg-pipinst] Error: installing with pip  failed
>>>>> [setuptools-73.0.1] [spkg-pipinst] 
>>>>> **************************************************************************************************************************************************************************
>>>>> [setuptools-73.0.1] [spkg-pipinst] Error installing setuptools
>>>>> [setuptools-73.0.1] [spkg-pipinst] 
>>>>> **************************************************************************************************************************************************************************
>>>>> [setuptools-73.0.1] 
>>>>> ************************************************************************
>>>>> [setuptools-73.0.1] Error running the pipinst script for 
>>>>> setuptools-73.0.1.
>>>>> [setuptools-73.0.1] 
>>>>> ************************************************************************
>>>>> [setuptools-73.0.1] Please email sage-devel (
>>>>> http://groups.google.com/group/sage-devel)
>>>>> [setuptools-73.0.1] explaining the problem and including the log files
>>>>> [setuptools-73.0.1]   
>>>>> /home/leonv/sage/sage/logs/pkgs/setuptools-73.0.1.log
>>>>> [setuptools-73.0.1] and
>>>>> [setuptools-73.0.1]   /home/leonv/sage/sage/config.log
>>>>> [setuptools-73.0.1] Describe your computer, operating system, etc.
>>>>> [setuptools-73.0.1] 
>>>>> ************************************************************************
>>>>> make[4]: *** [Makefile:3412: setuptools-SAGE_VENV-no-deps] Error 1
>>>>> make[3]: *** [Makefile:3412: 
>>>>> /home/leonv/sage/sage/local/var/lib/sage/venv-python3.12.5/var/lib/sage/installed/setuptools-73.0.1]
>>>>>  
>>>>> Error 2
>>>>> make[2]: *** [Makefile:3030: all-start] Error 2
>>>>> make[2]: Leaving directory '/home/leonv/sage/sage/build/make'
>>>>> ***************************************************************
>>>>>
>>>>> Thank you for your time,
>>>>> Léon Vaia
>>>>>
>>>>>
>
>-- 
>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 sage-devel+unsubscr...@googlegroups.com.
>To view this discussion visit 
>https://groups.google.com/d/msgid/sage-devel/1ad823c0-cb2b-4ea4-84bb-b127eb55654cn%40googlegroups.com.

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/75B3BA46-FA35-41CE-B4E6-B2BCB86F07FE%40gmail.com.

Reply via email to