Originally posted by **SpnkThe** October 3, 2023
Hello, so i have a small issue with setting up this program.
After successful installation of nodejs and python dependencies with `install.bat`, `run.bat` file gives out a error:
```
w-AI-fu 1.2.9
Loading config informations ...
Loading character "Hilda" ...
Loading filter ...
Getting audio devices ...
Spawning subprocesses ...
python LLM:
Traceback (most recent call last):
File "C:\Users\jarek\Desktop\w-AI-fu main\w-AI-fu\novel\novel_llm.py", line 17, in
python LLM:
from flask import Flask, request, jsonify
File "C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\__init__.py", line 5, in
from .app import Flask as Flask
File "C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 30, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\urls.py)
python TTS:
Traceback (most recent call last):
File "C:\Users\jarek\Desktop\w-AI-fu main\w-AI-fu\novel\novel_tts.py", line 10, in
python TTS:
from flask import Flask, request, jsonify, make_response
File "C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\__init__.py", line 5, in
python TTS:
from .app import Flask as Flask
File "C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 30, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\urls.py)
Critical Error: Could not contact LLM python script after 10s
Killing subprocesses ...
Exiting w.AI.fu
Press any key to continue . . .
```
It's my first time being face to face with coding and at this point i have no clue how this could be fixed, any help?
My current python version is 3.11.4 (but i had same error on recomended 3.10.10 version which i deleted entirely)
My nodeJS version is 19.8.1
Discussed in https://github.com/wAIfu-DEV/w-AI-fu/discussions/43