Skip to content

docker安装后运行python3 ShuiZe.py 报错 #177

@LK00100

Description

@LK00100

$ python3 ShuiZe.py
Traceback (most recent call last):
File "/home/kali/Downloads/ShuiZe_0x727-master/ShuiZe.py", line 11, in
import openpyxl
File "/usr/local/lib/python3.11/dist-packages/openpyxl/init.py", line 4, in
from openpyxl.compat.numbers import NUMPY, PANDAS
File "/usr/local/lib/python3.11/dist-packages/openpyxl/compat/init.py", line 5, in
from .strings import (
File "/usr/local/lib/python3.11/dist-packages/openpyxl/compat/strings.py", line 10, in
from .numbers import NUMERIC_TYPES
File "/usr/local/lib/python3.11/dist-packages/openpyxl/compat/numbers.py", line 49, in
numpy.float,
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'float'.
np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions