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

pyopenjtalk not found #16

Open
taellinglin opened this issue Nov 3, 2023 · 0 comments
Open

pyopenjtalk not found #16

taellinglin opened this issue Nov 3, 2023 · 0 comments

Comments

@taellinglin
Copy link

PS D:\voice-generator-webui-main> python .\webui.py
WARNING:root:Pytorch pre-release version 2.1.0.dev20230605 - assuming intent to test it
WARNING:root:Pytorch pre-release version 2.1.0.dev20230605 - assuming intent to test it
WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.0+cu118 with CUDA 1108 (you have 2.1.0.dev20230605)
Python 3.10.11 (you have 3.10.6)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
WARNING:xformers:A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
WARNING:xformers:Triton is not available, some optimizations will not be enabled.
This is just a warning: No module named 'triton'
C:\Users\User\miniconda3\lib\site-packages\langchain_init_.py:34: UserWarning: Importing LLMChain from langchain root module is no longer supported. Please use langchain.chains.LLMChain instead.
warnings.warn(
C:\Users\User\miniconda3\lib\site-packages\gradio\inputs.py:219: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
warnings.warn(
C:\Users\User\miniconda3\lib\site-packages\gradio\deprecation.py:40: UserWarning: optional parameter is deprecated, and it has no effect
warnings.warn(value)
Running on local URL: http://127.0.0.1:7862

To create a public link, set share=True in launch().
Traceback (most recent call last):
File "C:\Users\User\miniconda3\lib\site-packages\gradio\routes.py", line 408, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\User\miniconda3\lib\site-packages\gradio\blocks.py", line 1315, in process_api
result = await self.call_function(
File "C:\Users\User\miniconda3\lib\site-packages\gradio\blocks.py", line 1043, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\User\miniconda3\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Users\User\miniconda3\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\Users\User\miniconda3\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "D:\voice-generator-webui-main\ui\generate.py", line 41, in text2speech
phonemes, tts_audio = tts_interface.generate_speech(model, lang, text, speaker_list.index(sid), False, length_scale)
File "D:\voice-generator-webui-main\tts\tts_interface.py", line 43, in generate_speech
clean_text, stn_tst = get_text(text, lang, cleaned)
File "D:\voice-generator-webui-main\tts\tts_interface.py", line 34, in get_text
clean_text, text_norm = text_to_sequence(text, lang, cleaned)
File "D:\voice-generator-webui-main\tts\text_init_.py", line 29, in text_to_sequence
clean_text = cleaners.japanese_cleaners(text)
File "D:\voice-generator-webui-main\tts\text\cleaners.py", line 103, in japanese_cleaners
phonemes = pyopenjtalk_g2p_prosody(text)
File "D:\voice-generator-webui-main\tts\text\phonemizer_jp.py", line 18, in pyopenjtalk_g2p_prosody
pyopenjtalk = import_pyopenjtalk()
File "D:\voice-generator-webui-main\tts\text\phonemizer_jp.py", line 7, in import_pyopenjtalk
return importlib.import_module("pyopenjtalk")
File "C:\Users\User\miniconda3\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pyopenjtalk'

I have tried pip install pyopenjtalk and python -m pip install pyopenjtalk

PS C:\WINDOWS\system32> pip install pyopenjtalk
Requirement already satisfied: pyopenjtalk in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (0.3.2)
Requirement already satisfied: numpy>=1.20.0 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from pyopenjtalk) (1.26.1)
Requirement already satisfied: six in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from pyopenjtalk) (1.16.0)
Requirement already satisfied: tqdm in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from pyopenjtalk) (4.65.0)
Requirement already satisfied: colorama in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from tqdm->pyopenjtalk) (0.4.6)

[notice] A new release of pip available: 22.3.1 -> 23.3.1
[notice] To update, run: C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe -m pip install --upgrade pip
PS C:\WINDOWS\system32>

PS C:\WINDOWS\system32> pip install pyopenjtalk
Requirement already satisfied: pyopenjtalk in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (0.3.2)
Requirement already satisfied: numpy>=1.20.0 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from pyopenjtalk) (1.26.1)
Requirement already satisfied: six in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from pyopenjtalk) (1.16.0)
Requirement already satisfied: tqdm in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from pyopenjtalk) (4.65.0)
Requirement already satisfied: colorama in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from tqdm->pyopenjtalk) (0.4.6)

[notice] A new release of pip available: 22.3.1 -> 23.3.1
[notice] To update, run: C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe -m pip install --upgrade pip
PS C:\WINDOWS\system32> python -m pip install pyopenjtalk
WARNING: Ignoring invalid distribution -rotobuf (c:\users\user\miniconda3\lib\site-packages)
Collecting pyopenjtalk
Downloading pyopenjtalk-0.3.2.tar.gz (1.4 MB)
---------------------------------------- 1.4/1.4 MB 12.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.20.0 in c:\users\user\miniconda3\lib\site-packages (from pyopenjtalk) (1.23.5)
Requirement already satisfied: six in c:\users\user\miniconda3\lib\site-packages (from pyopenjtalk) (1.15.0)
Requirement already satisfied: tqdm in c:\users\user\miniconda3\lib\site-packages (from pyopenjtalk) (4.65.0)
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'c:\users\user\miniconda3\lib\site-packages\numpy-1.23.5.dist-info\METADATA'

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