Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: Adding flag for pyglet downgrade for Apple Silicon Devices #267

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ comment:
cli:
plugins:
pycoverage:
report_type: "json"
report_type: "json"
14 changes: 14 additions & 0 deletions docs/install_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,20 @@ If on an Apple-silicon machine you get an error related to pip being unable to i
4. Activate your virtual environment if you haven't already.
5. Install the package using pip with the following command: :command:`CPATH=$(brew --prefix)/include:$(brew --prefix)/include/eigen3 LD_LIBRARY_PATH=$(brew --prefix)/lib python -m pip install .`

.. _pygletversion:

Scenic generates only one scene on Apple silicon
+++++++++++++++++++++++++++++++++++++++++++++++++++

If on an Apple-silicon machine you get an error where your run a ``.scenic`` file and it only generates a single scene, you may need to downgrade the version of ``pyglet`` as follows:

1. Follow the MacOS instructions on :ref:`quickstart` for the repository installation.
2. Inside the root of the Scenic repo, update the ``pyglet`` version from ``"pyglet ~= 1.5"`` to ``"pyglet == 1.5.26"``.
3. Activate the virutal environment if you haven't done so already and run: ``python -m pip install -e .``
4. Confirm that you are using the updated version of ``pyglet`` by running: ``pip freeze``.

For more updates on the related issue, please refer to the `GitHub open issue <https://github.com/BerkeleyLearnVerify/Scenic/issues/230>`_.

Windows
-------

Expand Down
Loading