p5 icon indicating copy to clipboard operation
p5 copied to clipboard

mouse_x stay 0 on ubuntu 18

Open swirly opened this issue 5 years ago • 6 comments

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

swirly avatar Apr 02 '19 12:04 swirly

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?

abhikpal avatar May 27 '19 12:05 abhikpal

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)

swirly avatar Jun 04 '19 13:06 swirly

I am using ubuntu 18, which example script are you using ?

tushar5526 avatar Apr 29 '20 16:04 tushar5526

I believe it is the example script from README.md?

jeremydouglass avatar Apr 29 '20 17:04 jeremydouglass

It is working fine, I checked it on ubuntu 18.04 LTS

tushar5526 avatar Apr 30 '20 10:04 tushar5526

README.md example works on Ubuntu 20, with python 3.7 as well

ReneTC avatar Jun 29 '20 07:06 ReneTC