<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I was trying to install py310-jupyter but the install failed when building py310-jupyterlab_widgets. The problem seems to be that the StaticModule package is imported by</p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_packaging/setupbase.py<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">but not found in setuptools.config:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">from setuptools.config import StaticModule<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">ImportError: cannot import name 'StaticModule' from 'setuptools.config' (/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/config/__init__.py)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Any idea how to solve this? <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">the relevant lines from the main.log file are
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">:debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_python_py-jupyterlab_widgets/py310-jupyterlab_widgets/work/jupyterlab_widgets-1.0.2" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j16<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">:info:build Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">:info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_python_py-jupyterlab_widgets/py310-jupyterlab_widgets/work/jupyterlab_widgets-1.0.2/setup.py",
line 6, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">:info:build from jupyter_packaging import (<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">:info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_packaging/__init__.py", line 7, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">:info:build from .setupbase import *<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">:info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_packaging/setupbase.py", line 38, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">:info:build from setuptools.config import StaticModule<o:p></o:p></span></p>
<p class="MsoNormal">:info:build ImportError: cannot import name 'StaticModule' from 'setuptools.config' (/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/config/__init__.py)<span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">I've filed a ticket but was wondering if anyone on the list had any insight…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Mike<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">****************************************************<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Dr. Michael F. Corcoran<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">The Catholic University of America<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Goddard Space Flight Center, Code 662<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Greenbelt, MD 20771<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">****************************************************<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
</body>
</html>