ParisNeo / lollms

Lord of LLMS
Apache License 2.0
268 stars 49 forks source link

unable to set up lollms according to instructions #22

Open NgocKhanhC311 opened 7 months ago

NgocKhanhC311 commented 7 months ago

I got that error when setting up lollms according to the instructions. help me fix it

(lollms) ┌──(kali㉿kali)-[~]
└─$ pip install --upgrade lollms
Requirement already satisfied: lollms in ./miniconda3/envs/lollms/lib/python3.12/site-packages (9.3.0)
Requirement already satisfied: tqdm in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (4.66.2)
Requirement already satisfied: pyyaml in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (6.0.1)
Requirement already satisfied: Pillow in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (10.2.0)
Requirement already satisfied: wget in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (3.2)
Requirement already satisfied: setuptools in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (68.2.2)
Requirement already satisfied: requests in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (2.31.0)
Requirement already satisfied: safe-store in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (0.4.0)
Requirement already satisfied: ascii-colors>=0.1.3 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (0.2.2)
Requirement already satisfied: autopep8 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (2.1.0)
Requirement already satisfied: fastapi in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (0.110.0)
Requirement already satisfied: uvicorn in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (0.29.0)
Requirement already satisfied: python-multipart in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (0.0.9)
Requirement already satisfied: python-socketio in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from lollms) (5.11.2)
Requirement already satisfied: pycodestyle>=2.11.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from autopep8->lollms) (2.11.1)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from fastapi->lollms) (2.6.4)
Requirement already satisfied: starlette<0.37.0,>=0.36.3 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from fastapi->lollms) (0.36.3)
Requirement already satisfied: typing-extensions>=4.8.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from fastapi->lollms) (4.10.0)
Requirement already satisfied: bidict>=0.21.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from python-socketio->lollms) (0.23.1)
Requirement already satisfied: python-engineio>=4.8.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from python-socketio->lollms) (4.9.0)
Requirement already satisfied: aiohttp>=3.4 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from python-socketio[asyncio_client]->lollms) (3.9.3)
Requirement already satisfied: websocket-client>=0.54.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from python-socketio[client]->lollms) (1.7.0)
Requirement already satisfied: charset-normalizer<4,>=2 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from requests->lollms) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from requests->lollms) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from requests->lollms) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from requests->lollms) (2024.2.2)
Requirement already satisfied: scikit-learn in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (1.4.1.post1)
Requirement already satisfied: matplotlib in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (3.8.3)
Requirement already satisfied: seaborn in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (0.13.2)
Requirement already satisfied: python-docx in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (1.1.0)
Requirement already satisfied: python-pptx in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (0.6.23)
Requirement already satisfied: pandas in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (2.2.1)
Requirement already satisfied: beautifulsoup4 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (4.12.3)
Requirement already satisfied: mplcursors in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (0.5.3)
Requirement already satisfied: PyPDF2 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (3.0.1)
Requirement already satisfied: dpkt in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (1.9.8)
Requirement already satisfied: transformers in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from safe-store->lollms) (4.39.1)
Requirement already satisfied: click>=7.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from uvicorn->lollms) (8.1.7)
Requirement already satisfied: h11>=0.8 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from uvicorn->lollms) (0.14.0)
Requirement already satisfied: aiosignal>=1.1.2 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from aiohttp>=3.4->python-socketio[asyncio_client]->lollms) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from aiohttp>=3.4->python-socketio[asyncio_client]->lollms) (23.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from aiohttp>=3.4->python-socketio[asyncio_client]->lollms) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from aiohttp>=3.4->python-socketio[asyncio_client]->lollms) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from aiohttp>=3.4->python-socketio[asyncio_client]->lollms) (1.9.4)
Requirement already satisfied: annotated-types>=0.4.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi->lollms) (0.6.0)
Requirement already satisfied: pydantic-core==2.16.3 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi->lollms) (2.16.3)
Requirement already satisfied: simple-websocket>=0.10.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from python-engineio>=4.8.0->python-socketio->lollms) (1.0.0)
Requirement already satisfied: anyio<5,>=3.4.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from starlette<0.37.0,>=0.36.3->fastapi->lollms) (4.3.0)
Requirement already satisfied: soupsieve>1.2 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from beautifulsoup4->safe-store->lollms) (2.5)
Requirement already satisfied: contourpy>=1.0.1 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from matplotlib->safe-store->lollms) (1.2.0)
Requirement already satisfied: cycler>=0.10 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from matplotlib->safe-store->lollms) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from matplotlib->safe-store->lollms) (4.50.0)
Requirement already satisfied: kiwisolver>=1.3.1 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from matplotlib->safe-store->lollms) (1.4.5)
Requirement already satisfied: numpy<2,>=1.21 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from matplotlib->safe-store->lollms) (1.26.4)
Requirement already satisfied: packaging>=20.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from matplotlib->safe-store->lollms) (24.0)
Requirement already satisfied: pyparsing>=2.3.1 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from matplotlib->safe-store->lollms) (3.1.2)
Requirement already satisfied: python-dateutil>=2.7 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from matplotlib->safe-store->lollms) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from pandas->safe-store->lollms) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from pandas->safe-store->lollms) (2024.1)
Requirement already satisfied: lxml>=3.1.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from python-docx->safe-store->lollms) (5.1.0)
Requirement already satisfied: XlsxWriter>=0.5.7 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from python-pptx->safe-store->lollms) (3.2.0)
Requirement already satisfied: scipy>=1.6.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from scikit-learn->safe-store->lollms) (1.12.0)
Requirement already satisfied: joblib>=1.2.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from scikit-learn->safe-store->lollms) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from scikit-learn->safe-store->lollms) (3.4.0)
Requirement already satisfied: filelock in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from transformers->safe-store->lollms) (3.13.3)
Requirement already satisfied: huggingface-hub<1.0,>=0.19.3 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from transformers->safe-store->lollms) (0.22.1)
Requirement already satisfied: regex!=2019.12.17 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from transformers->safe-store->lollms) (2023.12.25)
Requirement already satisfied: tokenizers<0.19,>=0.14 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from transformers->safe-store->lollms) (0.15.2)
Requirement already satisfied: safetensors>=0.4.1 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from transformers->safe-store->lollms) (0.4.2)
Requirement already satisfied: sniffio>=1.1 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from anyio<5,>=3.4.0->starlette<0.37.0,>=0.36.3->fastapi->lollms) (1.3.1)
Requirement already satisfied: fsspec>=2023.5.0 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from huggingface-hub<1.0,>=0.19.3->transformers->safe-store->lollms) (2024.3.1)
Requirement already satisfied: six>=1.5 in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from python-dateutil>=2.7->matplotlib->safe-store->lollms) (1.16.0)
Requirement already satisfied: wsproto in ./miniconda3/envs/lollms/lib/python3.12/site-packages (from simple-websocket>=0.10.0->python-engineio>=4.8.0->python-socketio->lollms) (1.2.0)

(lollms) ┌──(kali㉿kali)-[~]
└─$ lollms-settings
lollms-settings: command not found
ParisNeo commented 7 months ago

Hi, sorry I forgot to upgrade the documentation. it is advised to use the webui installer to install and configure lollms in a graphical manner, then at the end activate headless mode for serving it to your network.

NgocKhanhC311 commented 7 months ago

Can you help me? What should I do next?

FknAza commented 1 month ago

I got the same error that: lollms database module is missing after installing it ALL 3 WAYS (uninstalls in-between)