'ModuleNotFoundError: No module named 'spectrust._spectro'

I have installed the specTrust package, but an error was reported in the call

ModuleNotFoundError Traceback (most recent call last) Input In [4], in <cell line: 2>() 1 #audio to spectrogram音频谱图 ----> 2 import spectrust 3 import re 5 spect = spectrust.Spectrogram(width=512, height=512)

File ~\AppData\Roaming\Python\Python39\site-packages\spectrust_init_.py:52, in 1 # -- coding: utf-8 -- 4 """ 5 6 ██████ ██▓███ ▓█████ ▄████▄ ▄▄▄█████▓ ██▀███ █ ██ ██████ ▄▄▄█████▓ (...) 49 50 """ ---> 52 from .api import Spectrogram 53 from .batch import Batchop 54 from .version import *

File ~\AppData\Roaming\Python\Python39\site-packages\spectrust\api.py:2, in 1 import traceback ----> 2 from ._spectro import generate_spectrogram as _g 5 class Result(object): 6 """Result object, for the ease of reading results. 7 8 Parameters (...) 15 Potential traceback should there be an error.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source