-
Notifications
You must be signed in to change notification settings - Fork 24
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
ImportError #38
Comments
How did you install the webp package, what version did you install, and what platform are you on (Windows/Linux)? |
Running into this same issue on MacOS (12.6), Python 3.10.10, webp==0.1.5 - with the package installed via pip: Here's my error message:
|
Unfortunately macOS is currently not supported, I've only built wheels for Windows and Linux. In theory it should be able to build from the source distribution, but it looks like that is not working based on your results. Since I don't have access to Apple hardware it is difficult for me to provide support, but I can try to see if I can build a wheel for macOS and hopefully it just works. I'll give that a go and let you know. |
Ah, I see thanks! I could swear it was working in the past... just not sure how many versions ago though. I'll try and build on my end - but also happy to test whatever ones you build. |
Everything works fine with webp==0.1.4. It seems something changed with 0.1.5 |
|
The issue is that installing from the sdist (source tarball) is broken, and this affects all platforms. It seems that the problem started after I moved the project to Poetry. I need to fix the sdist, and then as a bonus I will provide wheels so that it's faster to install on macOS in the future. |
With 0.1.4 i got the other error in lambda: Gone if switched to 0.1.5 |
That was quite a nasty issue to get to the bottom of. It seems like the root cause was a change in Poetry related to build scripts, which broke builds from the sdist tarball: python-poetry/poetry#2740 I've now released a new version, 0.1.6, which should fix the problem. Please give that a go and let me know if it works for you. |
Yep, it works, you are brilliant human being. :) |
When I try to use the code with a package in the pipeline, I get an error:
How can i fix it?
The text was updated successfully, but these errors were encountered: