Skip to content

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

@hx2A

Description

@hx2A

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions