jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.03k stars 339 forks source link

AttributeError: Extension instance has no attribute '_needs_stub' #707

Open felix-albrecht opened 2 years ago

felix-albrecht commented 2 years ago

When trying to install TLJH on my Ubuntu 20.04 server, I get the following error message:

File "/opt/tljh/hub/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 209, in build_extension if ext._needs_stub: AttributeError: 'Extension' object has no attribute '_needs_stub'

The last message in /opt/tljh/installer.log is Upgraded pip.

This dependency issue is possibly a duplicate of this gRPC issue. I upgraded setuptools to the newest version (58.2.0) via pip and also replaced /opt/tljh/hub/lib/python3.8/site-packages/setuptools with the new, upgraded version, but the error persists.

welcome[bot] commented 2 years ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada: