You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed an option in Pyxel's makefile from --skip-auditwheel to --auditwheel skip and then the compilation finished.
But when run an application, the following error occurs:
pyxel.init(300, 300, title="hoge")
^^^^^^^^^^
AttributeError: module 'pyxel' has no attribute 'init'
Bug Description
Hi.
I tried compiling Pyxel with Maturin 1.7.1+.
I changed an option in Pyxel's makefile from
--skip-auditwheel
to--auditwheel
skip and then the compilation finished.But when run an application, the following error occurs:
Maturin is called from Pyxel's makefile. https://github.com/kitao/pyxel/blob/main/Makefile#L102
The directory structure of Pyxel may no longer work correctly with Maturin 1.7.1 or later.
https://github.com/kitao/pyxel/blob/main/python/pyproject.toml#L35-L38
kitao/pyxel#574
Your maturin version (
maturin --version
)1.7.0 → 1.7.0+
Your Python version (
python -V
)Python 3.12.3
Your pip version (
pip -V
)pip 24.2
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
Just build Pyxel and use it.
make
pyxel edit
(which calls some Pyxel functions and invoke the error)The text was updated successfully, but these errors were encountered: