2023-04-02 05:07:00.554383: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
ImportError: numpy.core._multiarray_umath failed to import
ImportError: numpy.core.umath failed to import
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
ImportError: numpy.core._multiarray_umath failed to import
ImportError: numpy.core.umath failed to import
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
ImportError: numpy.core._multiarray_umath failed to import
ImportError: numpy.core.umath failed to import
Traceback (most recent call last):
File "/content/drive/MyDrive/Real-Time-Voice-Cloning/demo_toolbox.py", line 5, in <module>
from toolbox import Toolbox
File "/content/drive/MyDrive/Real-Time-Voice-Cloning/toolbox/__init__.py", line 11, in <module>
from toolbox.ui import UI
File "/content/drive/MyDrive/Real-Time-Voice-Cloning/toolbox/ui.py", line 11, in <module>
import umap
File "/usr/local/lib/python3.9/dist-packages/umap/__init__.py", line 7, in <module>
from .parametric_umap import ParametricUMAP
File "/usr/local/lib/python3.9/dist-packages/umap/parametric_umap.py", line 14, in <module>
import tensorflow as tf
File "/usr/local/lib/python3.9/dist-packages/tensorflow/__init__.py", line 37, in <module>
from tensorflow.python.tools import module_util as _module_util
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/__init__.py", line 42, in <module>
from tensorflow.python import data
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/data/__init__.py", line 21, in <module>
from tensorflow.python.data import experimental
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/data/experimental/__init__.py", line 97, in <module>
from tensorflow.python.data.experimental import service
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/data/experimental/service/__init__.py", line 419, in <module>
from tensorflow.python.data.experimental.ops.data_service_ops import distribute
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/data/experimental/ops/data_service_ops.py", line 22, in <module>
from tensorflow.python.data.experimental.ops import compression_ops
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/data/experimental/ops/compression_ops.py", line 16, in <module>
from tensorflow.python.data.util import structure
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/data/util/structure.py", line 22, in <module>
from tensorflow.python.data.util import nest
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/data/util/nest.py", line 34, in <module>
from tensorflow.python.framework import sparse_tensor as _sparse_tensor
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/framework/sparse_tensor.py", line 25, in <module>
from tensorflow.python.framework import constant_op
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/framework/constant_op.py", line 25, in <module>
from tensorflow.python.eager import execute
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/eager/execute.py", line 21, in <module>
from tensorflow.python.framework import dtypes
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/framework/dtypes.py", line 37, in <module>
_np_bfloat16 = _pywrap_bfloat16.TF_bfloat16_type()
TypeError: Unable to convert function return value to a Python type! The signature was
() -> handle
My python version is 3.9 And the error is