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

Globals not imported with lib. #331

Open
Raymond-Epitech opened this issue Nov 16, 2021 · 5 comments
Open

Globals not imported with lib. #331

Raymond-Epitech opened this issue Nov 16, 2021 · 5 comments

Comments

@Raymond-Epitech
Copy link

Raymond-Epitech commented Nov 16, 2021

Hello. Python cant find mouse_x nor mouse_y or other globals normally provided by the p5 import.

I expected to be able to use the mouse_x or mouse_y and other P5 globals.

image

(not only in vscode, python also complained when executed)

  • p5 release (version number or latest commit): Latest (0.7.1), installed via pip
  • Python version: 3.9.7
  • Operating system: Manjaro_os (latest)
@github-actions
Copy link
Contributor

Thank you for submitting your first issue to p5py

@tushar5526
Copy link
Member

Was there any error on running the python file.

@Raymond-Epitech
Copy link
Author

Raymond-Epitech commented Nov 16, 2021

Well... Kind of... I've never used p5 independently of the python ide so i'm kind of lost... Here's the output:
image
image

I had to force-stop the program because it was slowing down my computer and would'nt go further...
@tushar5526

@Raymond-Epitech
Copy link
Author

Was there any error on running the python file.

So... W y think about it ? ^^'

@tushar5526
Copy link
Member

tushar5526 commented Jun 13, 2022

Related to #346 , not sure about the second screenshot. mouse_x is not found, I will have to test it manually.

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