AttributeError: Module 'scipy' has no attribute 'ndarray'
Closed this issue · 3 comments
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
pip install brisque numpy scipy scikit-image Pillow
import imquality.brisque as brisque
import PIL.Image
path = 'page_22.png'
img = PIL.Image.open(path)
brisque.score(img)
Expected behavior
N/A
Screenshots
up
Log
AttributeError: Module 'scipy' has no attribute 'ndarray'
Additional context
Add any other context about the problem here.
@magallardoacn... Firstly this is not the same package. You are using a different package.
If you use this package then, please install the requirements.txt given in the main repo.
Duplicate Issue: #12
@magallardoacn... Firstly this is not the same package. You are using a different package. If you use this package then, please install the requirements.txt given in the main repo.
Duplicate Issue: #12
pip list:
brisque 0.0.16
colorama 0.4.6
contourpy 1.2.1
cycler 0.12.1
exceptiongroup 1.2.1
fonttools 4.51.0
imageio 2.34.1
importlib_resources 6.4.0
iniconfig 2.0.0
kiwisolver 1.4.5
lazy_loader 0.4
libsvm-official 3.32.0
matplotlib 3.8.4
networkx 3.2.1
numpy 1.26.4
opencv-python 4.9.0.80
packaging 24.0
pillow 10.3.0
pip 22.3.1
pluggy 1.5.0
pyparsing 3.1.2
pytest 8.2.0
python-dateutil 2.9.0.post0
PyWavelets 1.6.0
scikit-image 0.22.0
scipy 1.13.0
setuptools 65.5.0
setuptools-scm 8.0.4
six 1.16.0
tifffile 2024.4.24
tomli 2.0.1
typing_extensions 4.11.0
zipp 3.18.1
Do what I mentioned, I still have the same error
@magallardoacn as per your code you are using a different package i.e. imquality
and the name of my package is brisque
.