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

Fix Install Requirements #63

Merged

Conversation

FelipeMartins96
Copy link
Member

Set explicit pyglet version to 1.5.27 to fix the error:
NameError: name 'glPushMatrix' is not defined

based on https://stackoverflow.com/questions/74314778/nameerror-name-glpushmatrix-is-not-defined solution

Set protobuf version to 3.20 based on the following error:

TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

With this changes, the repo should work as instructed with the pip install -e . command

@FelipeMartins96 FelipeMartins96 changed the base branch from main to dev October 31, 2023 19:29
Copy link
Collaborator

@goncamateus goncamateus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice add

@FelipeMartins96 FelipeMartins96 merged commit 5651ec7 into robocin:dev Oct 31, 2023
@FelipeMartins96 FelipeMartins96 deleted the fix/install-requirements branch October 31, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants