Skip to content

Using module as wheel: No module named 'astc_encoder._encoder_none' #8

Description

@ranidspace

I'm wanting to use ASTC decoding in a blender extension, and so I've added it to python using a wheel.

On importing the module, I get the following error:

File "/home/ranid/.config/blender/5.0/extensions/user_default/io_scene_bfres/bntx/pixelfmt/astc/formats.py", line 6, in <module>
  from astc_encoder import (
File "/home/ranid/.config/blender/5.0/extensions/.local/lib/python3.11/site-packages/astc_encoder/__init__.py", line 19, in <module>
  from .encoder import (
File "/home/ranid/.config/blender/5.0/extensions/.local/lib/python3.11/site-packages/astc_encoder/encoder.py", line 28, in <module>
  from ._encoder_none import *
ModuleNotFoundError: No module named 'astc_encoder._encoder_none'

Just doing import astc_encoder in the repl

I'm using the wheels archspec-0.2.5-py3-none-any.whl and astc_encoder_py-0.1.12-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

I'm unsure of how the modules in this library work, so I can't say much on what I think is going wrong. Installing the module through uv works fine, so I'm unsure if it's the wheel or blender

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions