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

Update installation docs with clearer instructions for how to test #99

Open
hx2A opened this issue Aug 9, 2023 · 0 comments
Open

Update installation docs with clearer instructions for how to test #99

hx2A opened this issue Aug 9, 2023 · 0 comments

Comments

@hx2A
Copy link
Collaborator

hx2A commented Aug 9, 2023

Advise users not to test with the generic Python interpreter. See below.


I just ran through the install process on my Mac. I run Ventura with Homebrew and all of the pre-reqs are installed. When I run the quick example in a virtual environment and repl, I received the following error from py5:

Unable to obtain source code for setup(). Either make it obtainable or create a settings() function for calls to size(), fullscreen(), etc.
py5 encountered an error in your code:

File "<stdin>", line 2, in setup

RuntimeError: Cannot call the size() method here. Either move it to a settings() function or move it to closer to the start of setup().

I did not see anything specific to this issue in the Mac OSX notes. Is there some other thing I need to do to run this from the python repl?

Originally posted by @drpjm in py5coding/py5generator#337

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

1 participant