py39-nbconvert fails to build on Catalina

Artemio González López artemiog at mac.com
Thu Sep 8 13:49:13 UTC 2022


I got the following error when trying to build py39-nbconvert on a 2014 27” iMac running the latest version of Catalina (10.15.7). The error I got (from main.log) is the following:

:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work/nbconvert-7.0.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work/nbconvert-7.0.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work 
:info:build Failed to download css from https://unpkg.com/@jupyterlab/nbconvert-css@3.1.11/style/index.css: <https://unpkg.com/@jupyterlab/nbconvert-css@3.1.11/style/index.css:> <urlopen error [Errno 64] Host is down>
:info:build Failed to download css from https://unpkg.com/@jupyterlab/theme-light-extension@3.1.11/style/variables.css: <https://unpkg.com/@jupyterlab/theme-light-extension@3.1.11/style/variables.css:> <urlopen error [Errno 64] Host is down>
:info:build Failed to download css from https://unpkg.com/@jupyterlab/theme-dark-extension@3.1.11/style/variables.css: <https://unpkg.com/@jupyterlab/theme-dark-extension@3.1.11/style/variables.css:> <urlopen error [Errno 64] Host is down>
:info:build Failed to download css from https://cdn.jupyter.org/notebook/5.4.0/style/style.min.css: <https://cdn.jupyter.org/notebook/5.4.0/style/style.min.css:> <urlopen error [Errno 64] Host is down>

This error happens a few more times after that, and the build aborts with the following message:

:info:build     raise OSError("Need CSS to proceed.")
:info:build OSError: Need CSS to proceed.
:info:build * Getting dependencies for wheel...
:info:build * Building wheel...
:info:build ERROR Backend subprocess exited when trying to invoke build_wheel
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work/nbconvert-7.0.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work 
:info:build Exit code: 1
:error:build Failed to build py39-nbconvert: command execution failed
:debug:build Error code: CHILDSTATUS 31665 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/main.log for details.

Any idea what the problem may be?

Thanks in advance,

Artemio


Artemio Gonzalez Lopez
artemiog at mac.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220908/225d1b3c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4474 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220908/225d1b3c/attachment.bin>


More information about the macports-users mailing list