Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: attempted relative import with no known parent package #100

Open
Kurasa632 opened this issue Nov 27, 2024 · 0 comments
Open

Comments

@Kurasa632
Copy link

执行pip install git+https://github.com/huggingface/transformers 后,使用给的代码语音分析示例代码报错
Traceback (most recent call last):
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\Environment\Anaconda3\Audio\Lib\site-packages\requests\adapters.py", line 32, in
from .auth import _basic_auth_str
ImportError: attempted relative import with no known parent package
屏幕截图 2024-11-27 192727

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant