You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
感谢开发软件,运行时出现错误,我是mac:
python start.py
/Users/mam94/Documents/A/To_code/audiotext/venv/lib/python3.10/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:84.)
device: torch.device = torch.device(torch._C.get_default_device()), # torch.device('cpu'),
Traceback (most recent call last):
File "/Users/mam94/Documents/A/To_code/audiotext/stt/start.py", line 13, in
from stslib import cfg, tool
File "/Users/mam94/Documents/A/To_code/audiotext/stt/stslib/cfg.py", line 40, in
sets=parse_ini()
File "/Users/mam94/Documents/A/To_code/audiotext/stt/stslib/cfg.py", line 11, in parse_ini
"lang":"en" if locale.getdefaultlocale()[0].split('')[0].lower() != 'zh' else "zh",
AttributeError: 'NoneType' object has no attribute 'split'
The text was updated successfully, but these errors were encountered:
感谢开发软件,运行时出现错误,我是mac:
python start.py
/Users/mam94/Documents/A/To_code/audiotext/venv/lib/python3.10/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:84.)
device: torch.device = torch.device(torch._C.get_default_device()), # torch.device('cpu'),
Traceback (most recent call last):
File "/Users/mam94/Documents/A/To_code/audiotext/stt/start.py", line 13, in
from stslib import cfg, tool
File "/Users/mam94/Documents/A/To_code/audiotext/stt/stslib/cfg.py", line 40, in
sets=parse_ini()
File "/Users/mam94/Documents/A/To_code/audiotext/stt/stslib/cfg.py", line 11, in parse_ini
"lang":"en" if locale.getdefaultlocale()[0].split('')[0].lower() != 'zh' else "zh",
AttributeError: 'NoneType' object has no attribute 'split'
The text was updated successfully, but these errors were encountered: