简体   繁体   中英

Import Error: Problem with importing from Python Package

import audiolabel 
import numpy as np

from ultramisc import ebutils as eb
from audiolabel import LabelManager



ImportError                               Traceback (most recent call last)
<ipython-input-38-2387500242d1> in <module>
      4 
      5 from ultramisc import ebutils as eb
----> 6 from audiolabel import LabelManager

ImportError: cannot import name 'LabelManager' from 'audiolabel' (unknown location)

In [39]:

I'm trying to import LabelManager from the audiolabel package I got using git clone but for some reason there is no way to import LabelManager? I'm not sure why this is the case, because from all the documentation I've seen from audiolabel, they are able to import LabelManager

This error could be caused by multiple reasons... Have you tried downloading via pip install?

pip3 install "git+https://github.com/rsprouse/audiolabel.git"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM