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

RGB is not defined in pykms when building with no utils #69

Open
cshaw-velo-ai opened this issue Dec 22, 2022 · 0 comments
Open

RGB is not defined in pykms when building with no utils #69

cshaw-velo-ai opened this issue Dec 22, 2022 · 0 comments

Comments

@cshaw-velo-ai
Copy link

Hi. Building the Python bindings with libutils and utils set to false, there is a Python name error on the RGB type:

>>> import pykms
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/pykms/__init__.py", line 10, in <module>
    red = RGB(255, 0, 0)
NameError: name 'RGB' is not defined

It looks like __init__.py is using the RGB type but that is only defined if you bring in the utils?

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