Here's the thread:
Traceback (most recent call last):
File "/home/MmBaguette/mysite/create_book.py", line 25, in <module>
def hello_world(checking, URLs):
File "/usr/lib/python3.8/site-packages/flask/app.py", line 1314, in decorator
self.add_url_rule(rule, endpoint, f, **options)
File "/usr/lib/python3.8/site-packages/flask/app.py", line 98, in wrapper_func
Traceback (most recent call last):
File "/home/MmBaguette/mysite/create_book.py", line 8, in <module>
from readhtml import get_text_images
File "./readhtml.py", line 3, in <module>
Traceback (most recent call last):
File "/home/MmBaguette/mysite/create_book.py", line 8, in <module>
from readhtml import get_text_images
File "./readhtml.py", line 3, in <module>
import imagehash
File "/home/MmBaguette/.local/lib/python3.8/site-packages/imagehash.py", line 34, in <module>
from PIL import Image, ImageFilter
File "/usr/lib/python3.8/site-packages/PIL/ImageFilter.py", line 23, in <module>
File "/usr/lib/python3.8/site-packages/numpy/core/__init__.py", line 17, in <module>
import numpy
File "/usr/lib/python3.8/site-packages/numpy/__init__.py", line 142, in <module>
from . import core
File "/usr/lib/python3.8/site-packages/numpy/core/__init__.py", line 17, in <module>
from . import multiarray
File "/usr/lib/python3.8/site-packages/numpy/core/multiarray.py", line 14, in <module>
from . import overrides
File "/usr/lib/python3.8/site-packages/numpy/core/overrides.py", line 16, in <module>
add_docstring(
RuntimeError: implement_array_function method already has a docstring
The error occurs when I import the PIL-based imagehash module.