KoboldAI / KoboldAI-Client

For GGUF support, see KoboldCPP: https://github.com/LostRuins/koboldcpp
https://koboldai.com
GNU Affero General Public License v3.0
3.46k stars 747 forks source link

ModuleNotFoundError: No module named 'ansi2html' #354

Closed AlexFenix33 closed 11 months ago

AlexFenix33 commented 1 year ago

Give back that result

Traceback (most recent call last): File "aiserver.py", line 26, in <module> from ansi2html import Ansi2HTMLConverter ModuleNotFoundError: No module named 'ansi2html'

Vendaciousness commented 11 months ago
pip install ansi2html --no-cache

Worked for me. Then it named a few more dependencies that were missing and I did the same command until it eventually ran. This worked for me on both the main branch and the dev.

henk717 commented 11 months ago

When using our official runtime nothing should be missing (install_requirements.bat and then play.bat) That said I recommend using the offline installer (For United its on my git) to get everything setup instead of install_requirements.bat since its a smaller download and then its guaranteed to copy everything over correctly.