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

load_texture: fix usage of importlib #698

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rbignon
Copy link

@rbignon rbignon commented Aug 8, 2024

To use importlib.util, you need to import it.

>>> import importlib
>>> importlib.util.find_spec
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'importlib' has no attribute 'util'
>>> import importlib.util
>>> importlib.util.find_spec
<function find_spec at 0x7f817485c400>

To use importlib.util, you need to import it.
@pokepetter
Copy link
Owner

Can't reproduce. Which Python version are you using?

@rbignon
Copy link
Author

rbignon commented Aug 8, 2024

Python 3.12.4

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

Successfully merging this pull request may close these issues.

2 participants