2023-08-26 03:07:31 +02:00
|
|
|
|
# Installing lollms-webui on Linux or macOS:
|
2023-04-06 21:12:49 +02:00
|
|
|
|
|
2023-04-06 22:19:50 -03:00
|
|
|
|
\- Make sure you have all the dependencies for requirements
|
|
|
|
|
`python3.11 -m pip install cmake`
|
|
|
|
|
`python3.11 -m pip install nproc` if you have issues with scikit-learn add the foollowing env var
|
|
|
|
|
`SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True`
|
|
|
|
|
`python3.11 -m pip install wget`
|
|
|
|
|
|
2023-04-06 21:12:49 +02:00
|
|
|
|
\- Install requirements
|
|
|
|
|
python3.11 -m pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
\- Review the install script 🙏🏻
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
nano -lASimYsh install.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
\- Make it runnable
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
chmod +x install.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
\- Run the install script
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
./install.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
\- Install nomic
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
pip install nomic
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
or force pip to install with Python 3.11
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
python3.11 -m pip install nomic
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
\- Install/updt venv
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
sudo apt install python3.11-venv
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
\- ToDo
|
|
|
|
|
|