jupylet icon indicating copy to clipboard operation
jupylet copied to clipboard

Not working in Jupyter

Open in-tension opened this issue 4 years ago • 3 comments

When I try to test the game in Jupyter (notebook or lab) I can't play the game. When I try to press the up/down keys it responds by moving up or down a cell and when I try left/right it does nothing. It kinda seems like it might be displaying as a just image, I'm not sure.

Is there something I'm missing? Did I miss a step somewhere?

in-tension avatar Sep 25 '21 22:09 in-tension

Can you provide some details on your setup?

What computer type, OS (and version), python version, the steps you followed to install and run jupylet.

Thanks for this report

nir avatar Sep 26 '21 04:09 nir

Windows 10 (64 bit) python 3.8.3

I did pip install jupylet

and then later when it wasn't working I reread the instructions and did python -m jupylet postinstall

I restarted jupyter and the only change I noticed was instead displaying the whole game area, now it only displays about half and has a scrollbar which definitely seems worse to me.

I'm not entirely sure what you mean by computer type, but it's a laptop - Razer Blade Pro 17 with an i7 intel core

in-tension avatar Sep 27 '21 21:09 in-tension

Well,

I have tested it on Windows 10 - 64 bit with Python 3.8.3 on updated versions of Chrome, Firefox, and Microsoft Edge (or whatever its called now) and a clean installation of Jupylet,

and it works as expected.

  1. What notebook are you trying to run?
  2. Many of the demo notebooks have corresponding script version that you can run as regular Python scripts. do any of these work?

nir avatar Oct 02 '21 17:10 nir