Skip to content
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

NameError: name 'sys' is not defined in env.py #17

Closed
fatenghriss opened this issue Mar 9, 2020 · 1 comment
Closed

NameError: name 'sys' is not defined in env.py #17

fatenghriss opened this issue Mar 9, 2020 · 1 comment

Comments

@fatenghriss
Copy link
Contributor

Hello

I have just tried to integrate jupylet into my script. However I am getting the following error:
packages/jupylet/env.py:68: in has_display if 'pyglet' in sys.modules: E NameError: name 'sys' is not defined
when simply importing jupylet

It has been fixed for me by simply adding import sys in the head of that file locally.

Could you please fix that on the file?

Thanks!

@nir
Copy link
Owner

nir commented Mar 11, 2020

I merged your fix - fc26854

Thanks so much!

@nir nir closed this as completed Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants