jhj0517 / stable-diffusion-webui-Layer-Divider

Layer-Divider, an extension for stable-diffusion-webui using the segment-anything model (SAM)
Apache License 2.0
165 stars 13 forks source link

fix packbits extension bug #14

Closed jhj0517 closed 1 year ago

jhj0517 commented 1 year ago

This PR is meant to resolve the #5 , again. It appears to be related to a version conflict between Cython and Python versions.

This error seems to be occurring in several OS.

When running pip install pytoshop in Python 3.6, the packbits extension file (.so or .pyd) is generated However for Python versions 3.7 ~ 3.11, it is not generated

The action of pip should not differ from that of setup.py. However, when using setup.py, the so and pyd files are generated normally.

So I assume this error is related to a version conflict between Cython and Python versions.

In this PR, I've directly built the extension.