Jupyterhub installation issue

Hi everyone,
I juste installed Jupyterhub using pip install jupyterhub but when i try to start it with jupyterhub in my prompt it get this error message:

[I 2022-10-19 13:31:21.615 JupyterHub app:2775] Running JupyterHub version 3.0.0
[I 2022-10-19 13:31:21.617 JupyterHub app:2805] Using Authenticator: jupyterhub.auth.PAMAuthenticator-3.0.0
[I 2022-10-19 13:31:21.617 JupyterHub app:2805] Using Spawner: jupyterhub.spawner.LocalProcessSpawner-3.0.0
[I 2022-10-19 13:31:21.618 JupyterHub app:2805] Using Proxy: jupyterhub.proxy.ConfigurableHTTPProxy-3.0.0
[I 2022-10-19 13:31:21.622 JupyterHub app:1614] Loading cookie_secret from C:\Users\soufi\jupyterhub_cookie_secret
[I 2022-10-19 13:31:21.689 JupyterHub proxy:559] Generating new CONFIGPROXY_AUTH_TOKEN
[E 2022-10-19 13:31:21.703 JupyterHub app:3297]
Traceback (most recent call last):
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyterhub\app.py”, line 3294, in launch_instance_async
await self.initialize(argv)
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyterhub\app.py”, line 2822, in initialize
await self.init_users()
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyterhub\app.py”, line 1883, in init_users
if self.authenticator.enable_auth_state:
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\traitlets\traitlets.py”, line 686, in get
return self.get(obj, cls)
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\traitlets\traitlets.py”, line 648, in get
default = obj.trait_defaults(self.name)
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\traitlets\traitlets.py”, line 1752, in trait_defaults
return self._get_trait_default_generator(names[0])(self)
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\traitlets\traitlets.py”, line 1132, in call
return self.func(*args, **kwargs)
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyterhub\app.py”, line 1127, in _authenticator_default
return self.authenticator_class(parent=self, _deprecated_db_session=self.db)
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyterhub\auth.py”, line 1057, in init
raise pamela_error from None
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyterhub\auth.py”, line 16, in
import pamela
File “C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\site-packages\pamela.py”, line 49, in
LIBPAM = CDLL(find_library(“pam”))
File "C:\Users\soufi\AppData\Local\Programs\Python\Python310\lib\ctypes_init
.py", line 364, in init
if ‘/’ in name or ‘\’ in name:
TypeError: argument of type ‘NoneType’ is not iterable

Hi! Do you have a local configuration file, or any environment variables set?

Note that Windows isn’t officially supported GitHub - jupyterhub/jupyterhub: Multi-user server for Jupyter notebooks

If you have a Linux system, e.g. WSL2, you’re likely to have more success.

Hi manics, thanks for your answer !
I don’t really understand what you mean by local configuration file or environment variables (i’m still new in this sorry :sweat_smile: ) what should i look for ?
As you figured, i’m using windows for this. I’ll try it on my VM, but if i can figure out how to make this work on windows it’ll be a great plus for me !