Skip to content
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: numpy.core.multiarray failed to import #16

Open
xerohackcom opened this issue Feb 11, 2022 · 2 comments
Open

ImportError: numpy.core.multiarray failed to import #16

xerohackcom opened this issue Feb 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@xerohackcom
Copy link
Owner

xerohackcom commented Feb 11, 2022

Recorded on 10th Feb 2022.

Error: RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

Fixing this error using pip3 install -U numpy breaks the brisque calculation with the following error:

ValueError: the input array must have size 3 along channel_axis, got (834, 524)

**The steganography stuff works, but the analysis won't and the script will end with an error... ** f this numpy bs

@xerohackcom xerohackcom added the bug Something isn't working label Feb 11, 2022
@xerohackcom
Copy link
Owner Author

xerohackcom commented Feb 12, 2022

To Fix:

Solution 1

For RuntimeError , replace old numpy with new one using pip3 install -U numpy

Solution 2

ValueError is a known bug in image-quality package: ocampor/image-quality#41 (comment) . Let's hope their merge happens fast.

@haxerzin
Copy link

Error fixed: Check out the new version here: https://github.com/BobEXP/ChayaV2

Thanks for feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants