P.S: FWIW, from outside the  (sage-sh)  subshell , using system python3.10, 
pip (version 22.1.1) and wheel (version 0.34.2)

~/sage-9.8/b4/b4.0$ python3 -m pip wheel --help | grep config
  --config-settings <settings>
                              KEY=VALUE. Use multiple --config-settings
                              environment variables and user configuration.

This is the expected output for the command from inside the (sage-sh) 
subshell.

Recalling that from inside (sage-sh) subshell, the output was:

(sage-sh):b4.0$ python3 -m pip wheel --help | grep config

                              environment variables and user configuration.


On Friday, November 25, 2022 at 7:48:31 AM UTC-5 being nobody00 wrote:

> > If you start ./sage -sh
>
> (sage-sh):b4.0$ pip --version
> pip 22.0.2 from /home/hph/.sage/local/lib/python3.10/site-packages/pip 
> (python 3.10)
> (sage-sh):b4.0$ wheel version
> wheel 0.37.1
> (sage-sh):b4.0$ python3 -m pip wheel --help | grep config
>
>                               environment variables and user configuration.
>
> On Friday, November 25, 2022 at 6:14:44 AM UTC-5 dim...@gmail.com wrote:
>
>> On Fri, Nov 25, 2022 at 5:10 AM being nobody00 <beingn...@gmail.com> 
>> wrote: 
>> > 
>> > Dear SageMath, 
>> > 
>> > SageMath 9.8 beta 4 failed to build on this system: 
>> > 
>> > $ uname -a 
>> > Linux 4.4.0-17763-Microsoft #2268-Microsoft Thu Oct 07 16:36:00 PST 
>> 2021 x86_64 x86_64 x86_64 GNU/Linux 
>> > $ which python3 
>> > /usr/bin/python3 
>> > $ python3 --version 
>> > Python 3.10.8 
>> > $ ~/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/bin/python3 
>> --version 
>> > Python 3.10.8 
>> > $ wheel version 
>> > wheel 0.34.2 
>> > $ ~/sage-9.8/b4/b4.0/sage -pip list | grep 'wheel' 
>> > wheel 0.37.1 
>> > $ ls -l ~/sage-9.8/b4/b4.0/logs/pkgs | wc -l 
>> > 192 
>> > 
>> > Questions: 
>> > 
>> > Is ~/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/bin/python3 
>> freshly built or a "copy and paste" of /usr/bin/python3? Can 
>> /usr/bin/python3 be used 'as is where is' for SageMath? 
>> > 
>> > Why different versions of "wheel"? ( 'wheel ' on this system was 
>> installed after SageMath 9.8 beta 4 was released and the version was 
>> decided by the system). Is version 0.37.1 better for SageMath 9.8 than 
>> 0.34.2 
>> > 
>> > Subsequent to a failed build (because of 'Error building a wheel for 
>> jupyter_jsmol-2022.1.0'), the build process always invokes make for 
>> 'sagelib-9.8.beta4' and 'sagemath_doc_html-none'. This takes about an hour 
>> on this system. Is this necessary? Can it be avoided? 
>> > 
>> > What does the option "--config-settings" do in the context of the 
>> following excerpt from the log file: 
>> > 
>> > "Package 'jupyter_jsmol' is currently not installed 
>> > No legacy uninstaller found for 'jupyter_jsmol'; nothing to do 
>> > Installing jupyter_jsmol-2022.1.0 
>> > 
>> > Usage: 
>> > 
>> /home/hph/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/bin/python3 
>> -m pip wheel [options] <requirement specifier> ... 
>> > 
>> /home/hph/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/bin/python3 
>> -m pip wheel [options] -r <requirements file> ... 
>> > 
>> /home/hph/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/bin/python3 
>> -m pip wheel [options] [-e] <vcs project url> ... 
>> > 
>> /home/hph/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/bin/python3 
>> -m pip wheel [options] [-e] <local project path> ... 
>> > 
>> /home/hph/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/bin/python3 
>> -m pip wheel [options] <archive url/path> ... 
>> > 
>> > 
>> /home/hph/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/bin/python3 
>> -m pip wheel [options] <archive url/path> ... 
>> > 
>> > no such option: --config-settings 
>>
>> This seems to indicate that you're using incorrect version of wheel 
>> or/and pip. 
>>
>> If you start ./sage -sh 
>> what's the output of 
>>
>> python3 -m pip wheel --help | grep config 
>>
>> run at this prompt? 
>>
>> It should be 
>>
>> --config-settings <settings> 
>> KEY=VALUE. Use multiple --config-settings 
>> environment variables and user configuration. 
>>
>>
>> > 
>> ***********************************************************************************************************************************************
>>  
>>
>> > Error building a wheel for jupyter_jsmol-2022.1.0 
>> > 
>> ***********************************************************************************************************************************************
>>  
>>
>> > 
>> > Last but not least, how to debug and fix this issue with "Error 
>> installing package jupyter_jsmol-2022.1.0" on this system after going to 
>> the debug subshell? 
>> > 
>> > From the log file: 
>> > "If you want to try to fix the problem yourself, *don't* just cd to 
>> > 
>> /home/hph/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/jupyter_jsmol-2022.1.0
>>  
>> and type 'make' or whatever is appropriate. 
>> > Instead, the following commands setup all environment variables 
>> > correctly and load a subshell for you to debug the error: 
>> > (cd 
>> '/home/hph/sage-9.8/b4/b4.0/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/jupyter_jsmol-2022.1.0'
>>  
>> && '/home/hph/sage-9.8/b4/b4.0/sage' --buildsh) 
>> > When you are done debugging, you can type "exit" to leave the 
>> subshell." 
>> > 
>> > Your help is greatly appreciated. 
>> > 
>> > With best wishes and regards, 
>> > 
>> > phi 
>> > 
>> > -- 
>> > 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+...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/a4587dfd-fa28-480f-a064-3dda0d37f51dn%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 on the web visit 
https://groups.google.com/d/msgid/sage-devel/aa3ea3be-a6d4-448a-a5f8-539653b669f8n%40googlegroups.com.

Reply via email to