Skip to content

load_texture: fix usage of importlib#698

Open
rbignon wants to merge 1 commit intopokepetter:masterfrom
rbignon:fix-import-lib
Open

load_texture: fix usage of importlib#698
rbignon wants to merge 1 commit intopokepetter:masterfrom
rbignon:fix-import-lib

Conversation

@rbignon
Copy link
Copy Markdown

@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
Copy Markdown
Owner

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

@rbignon
Copy link
Copy Markdown
Author

rbignon commented Aug 8, 2024

Python 3.12.4

@ItsbaileyX3525
Copy link
Copy Markdown

Can confirm, had this issue on python 3.12+

@a2cy
Copy link
Copy Markdown
Contributor

a2cy commented Nov 1, 2025

Same here, I'm using Python 3.13.7 on Arch Linux

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.

4 participants