heya! Can you do a `which jupyterhub` to make sure that jupyterhub and the dummyauthenticator are installed into the same environment?
Also can you paste the output of 'pip list'? Thank you! On Tue, Mar 21, 2017 at 1:00 PM, Spencer Ogden <[email protected]> wrote: > I am trying to setup of jupyterhub testing environment on RHEL 6. I have > compiled Python3.6 from source, created a virtualenv and used pip to install > the latest jupyterhub packages: > > pip install jupyter jupyterhub jupyterhub-dummyauthenticator > jupyterhub-simplespawner > > Using a barebones config file: jupyterhub_config.py: > c.JupyterHub.spawner_class = 'simplespawner.SimpleLocalProcessSpawner' > c.JupyterHub.authenticator_class = 'dummyauthenticator.DummyAuthenticator' > > I get the following error: > $ jupyterhub > [snip out help information] > [C 2017-03-21 12:52:00.230 JupyterHub application:91] The > 'authenticator_class' trait of <jupyterhub.app.JupyterHub object at > 0x7fba6ec06898> instance must be a type, but > 'dummyauthenticator.DummyAuthenticator' could not be imported > > I can import the module in a python session (and it is show that it imports > from the virtualenv): > $ python > Python 3.6.0 (default, Mar 21 2017, 08:57:23) > [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux > Type "help", "copyright", "credits" or "license" for more information. >>>> import dummyauthenticator >>>> dummyauthenticator.__file__ > '/home/portcon/.envs/kate/lib/python3.6/site-packages/dummyauthenticator/__init__.py' > > Is there a change in the config layout for these parameters in the latest > version? > > Thanks, > Spencer > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/b918704e-479d-4bae-909a-51d0594770e2%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Yuvi Panda T http://yuvi.in/blog -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAFw%3DySgG9peuq_zT2d8Eio-RUuvW3xvyEdjN7EcWzM-eji25kw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
