New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when executing pytest on jupyterhub/test/ #1001
Comments
JupyterHub only runs with Python 3, so make sure that JupyterHub and pytest are installed in a Python 3 environment. For instance:
from the JupyterHub repo. |
Hi, I am still running into the issue even after running it in a virtual environment shown below
In running
The following is the
PS: I am contributing as part of hackillinois 2017, where @willingc is mentoring here :) |
Does it work if you delete this file:
Great! welcome to the project. Happy hacking! |
It worked! Thank you! I am thinking of adding that short note to the contributing guidelines if that sounds good. Creating the virtual environment really did the trick. |
@nickylimjj Would you add the error and its resolution to the troubleshooting section of the docs? The file to edit is https://github.com/jupyterhub/jupyterhub/blob/master/docs/source/troubleshooting.md. Adding to the contributing guidelines would be helpful too. Thanks @minrk for the troubleshooting help too. |
execute
pytest jupyterhub/tests
I exepcted test to run to completion, but there was a
ImportError: cannot import name TimeoutExpired
. I triedpython3 -m pytest jupyterhub/test
instead buttest_api.py
threw a whole string or 'E's.Jupyter hub v0.8.0.dev
Running
jupyter troubleshoot
from the command line, if possible, and postingits output would also be helpful.
Thanks!
The text was updated successfully, but these errors were encountered: