HRNPH / AIwaifu

Open-Waifu open-sourced finetunable customizable simpable AI waifu inspired by neuro-sama
GNU General Public License v2.0
356 stars 28 forks source link

Error installing pyopenjtalk #48

Closed Zinedinarnaut closed 1 year ago

Zinedinarnaut commented 1 year ago

I keep getting this error and I don't know how to resolve it I've tried all the steps above but it keeps outputting this error when installing pyopenjtalk

error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [25 lines of output] setup.py:26: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. _CYTHON_INSTALLED = ver >= LooseVersion(min_cython_ver) Traceback (most recent call last): File "C:\Users\PycharmProjects\AIwaifu\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Users\PycharmProjects\AIwaifu\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main json_out['return_val'] = hook(*hook_input['kwargs']) File "C:\Users\PycharmProjects\AIwaifu\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\AppData\Local\Temp\pip-build-env-xn3bmdr3\overlay\Lib\site-packages\setuptools\build_meta.py", line 162, in get_requires_for_build_wheel return self._get_build_requires( File "C:\Users\AppData\Local\Temp\pip-build-env-xn3bmdr3\overlay\Lib\site-packages\setuptools\build_meta.py", line 143, in _get_build_requires self.run_setup() File "C:\Users\AppData\Local\Temp\pip-build-env-xn3bmdr3\overlay\Lib\site-packages\setuptools\build_meta.py", line 267, in run_setup super(_BuildMetaLegacyBackend, File "C:\Users\AppData\Local\Temp\pip-build-env-xn3bmdr3\overlay\Lib\site-packages\setuptools\build_meta.py", line 158, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 153, in File "C:\Users\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 501, in run with Popen(popenargs, **kwargs) as process: File "C:\Users\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

andri-jpg commented 1 year ago

What version of python are you using?

HRNPH commented 1 year ago

please try using python 3.8.x

Zinedinarnaut commented 1 year ago

What version of python are you using?

Python: 3.10

HRNPH commented 1 year ago

man we really need to migrate to poetry for dependencies management @Zinedinarnaut Do you have Cmake Installed? we require

gcc (g++)
cmake
cython

for the build of pyopenjtalk

Please take a look at this issue #20 for the installation checking of C++ cmake & other

Zinedinarnaut commented 1 year ago

Thank you for your help everything is working successfully, any plans on making a discord server for this? would help a lot of newcomers.

HRNPH commented 1 year ago

Thx @Zinedinarnaut for Good Suggestion, I'll do it btw it would be good that you clarify "What solves your problem" it'll be good for a newcomer to seek help

Zinedinarnaut commented 1 year ago

Understood, I’ll clarify what fixed the error for next time.

Also regarding your website could you fix your discord username so others can contact you?

HRNPH commented 1 year ago

oh yeah, Thx I've updated it