p5
p5 copied to clipboard
mouse_x stay 0 on ubuntu 18
Describe the bug I installed p5 with pip3 on ubuntu 18, used the example script and the circles stayed in corner. In draw, I added a print(mouse_x). Mouse_x stayed at 0
To Reproduce use a fresh ubtuntu 18 install (or live system) install python 3.6 with apt, python3-pip pip3 instal p5 copy example script and launch
Expected behavior The exemple should work as on presentation page, the circle should follow the mouse
System information:
- p5 release (version number or latest commit): 0.5
- Python version: 3.6
- Operating system: linux Ubuntu
Could you post the whole script you were using? This issue doesn't seem to be there on Debian 9. Moreover, could someone on Ubuntu 18 try an reproduce this?
This was a machine in a training session. Pure ubuntu 18 out of the box. As said in the bug report, it was just the example script that was used (copy example sciprt and launch)
I am using ubuntu 18, which example script are you using ?
I believe it is the example script from README.md?
It is working fine, I checked it on ubuntu 18.04 LTS
README.md example works on Ubuntu 20, with python 3.7 as well