You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to my life, where online installations seemed just too easy—so by my nature, I decided to go offline to make things more interesting. It’s like choosing to run a marathon (20min) instead of a leisurely stroll (10min). After tripping over a few too many issues, I found myself here on GitHub, seeking help.
LOCAL_MODEL not set in the .env file.
Launching Kotaemon in your browser, please wait...
[nltk_data] Downloading package punkt_tab to /home/stumblestone/Downlo
[nltk_data] ads/kotaemon-
[nltk_data] 0.9.1/install_dir/env/lib/python3.10/site-
[nltk_data] packages/llama_index/core/_static/nltk_cache...
[nltk_data] Package punkt_tab is already up-to-date!
run_linux.sh: line 172: 5528 Illegal instruction PDFJS_PREBUILT_DIR="$pdfjs_prebuilt_dir" python $(pwd)/app.py
Will exit now...
┌──(Nux㉿kali)-[~/Downloads/kotaemon-0.9.1]
└─$ cd install_dir
┌──(Nux㉿kali)-[~/Downloads/kotaemon-0.9.1/install_dir]
└─$ ls
conda env
┌──(Nux㉿kali)-[~/Downloads/kotaemon-0.9.1/install_dir]
└─$ cd env/lib/python3.1/site-packages/llama_index/core/_static/nltk_cache
┌──(Nux㉿kali-[~/…/llama_index/core/_static/nltk_cache]
└─$ ls
corpora tokenizers
1. Go to '~/Downloads/kotaemon-0.9.1/scripts'
2. Ran this script '$ bash run_linux.sh'
3. See error 'LOCAL_MODEL not set in the `.env` file.'
Screenshots
![DESCRIPTION](LINK.png)
Logs
No response
Browsers
No response
OS
Linux
Additional information
I had encountered an small issue before this .env issue as well which i easily resolved, if wanna know what it was read this maybe you will get to know what i missed,
it was problem with Downloading and unzipping PDF.js
Here is log of it...
Downloading https://github.com/mozilla/pdf.js/releases/download/v4.0.379/pdfjs-4.0.379-dist.zip to /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0curl: (6) Could not resolve host: github.com
Unzipping /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip to /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist
unzip: cannot find or open /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip, /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip.zip or /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip.ZIP.
rm: cannot remove '/home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip': No such file or directory
Download and unzip completed successfully
so what i diid i downloade manually, extracted and pasted it in this /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/
and voila prbl solved, after running again bash run_linux.sh
Setting up Miniconda
Miniconda is installed at /home/stumblestone/Downloads/kotaemon-0.9.1/install_dir/conda
Conda version:
conda 24.9.2
Creating conda environment
Conda environment exists at /home/stumblestone/Downloads/kotaemon-0.9.1/install_dir/env
Activate conda environment at /home/stumblestone/Downloads/kotaemon-0.9.1/install_dir/env
Description
Prologue:
Welcome to my life, where online installations seemed just too easy—so by my nature, I decided to go offline to make things more interesting. It’s like choosing to run a marathon (20min) instead of a leisurely stroll (10min). After tripping over a few too many issues, I found myself here on GitHub, seeking help.
LOCAL_MODEL not set in the
.env
file.Launching Kotaemon in your browser, please wait...
[nltk_data] Downloading package punkt_tab to /home/stumblestone/Downlo
[nltk_data] ads/kotaemon-
[nltk_data] 0.9.1/install_dir/env/lib/python3.10/site-
[nltk_data] packages/llama_index/core/_static/nltk_cache...
[nltk_data] Package punkt_tab is already up-to-date!
run_linux.sh: line 172: 5528 Illegal instruction PDFJS_PREBUILT_DIR="$pdfjs_prebuilt_dir" python $(pwd)/app.py
Will exit now...
┌──(Nux㉿kali)-[~/Downloads/kotaemon-0.9.1]
└─$ cd install_dir
┌──(Nux㉿kali)-[~/Downloads/kotaemon-0.9.1/install_dir]
└─$ ls
conda env
┌──(Nux㉿kali)-[~/Downloads/kotaemon-0.9.1/install_dir]
└─$ cd env/lib/python3.1/site-packages/llama_index/core/_static/nltk_cache
┌──(Nux㉿kali-[~/…/llama_index/core/_static/nltk_cache]
└─$ ls
corpora tokenizers
╱╱▏┈┈╱╱╱╱▏╱╱▏
▇╱▏┈┈▇▇▇╱▏▇╱▏
▇╱▏▁┈▇╱▇╱▏▇╱▏▁
▇╱╱╱▏▇╱▇╱▏▇╱╱╱
▇▇▇╱┈▇▇▇╱┈▇▇▇╱
Dunno what to do? or what i am doing?
Reproduction steps
Screenshots
![DESCRIPTION](LINK.png)
Logs
No response
Browsers
No response
OS
Linux
Additional information
I had encountered an small issue before this .env issue as well which i easily resolved, if wanna know what it was read this maybe you will get to know what i missed,
it was problem with Downloading and unzipping PDF.js
Here is log of it...
Downloading https://github.com/mozilla/pdf.js/releases/download/v4.0.379/pdfjs-4.0.379-dist.zip to /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0curl: (6) Could not resolve host: github.com
Unzipping /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip to /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist
unzip: cannot find or open /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip, /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip.zip or /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip.ZIP.
rm: cannot remove '/home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/downloaded.zip': No such file or directory
Download and unzip completed successfully
so what i diid i downloade manually, extracted and pasted it in this /home/Nux/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist/
and voila prbl solved, after running again
bash run_linux.sh
Setting up Miniconda
Miniconda is installed at /home/stumblestone/Downloads/kotaemon-0.9.1/install_dir/conda
Conda version:
conda 24.9.2
Creating conda environment
Conda environment exists at /home/stumblestone/Downloads/kotaemon-0.9.1/install_dir/env
Activate conda environment at /home/stumblestone/Downloads/kotaemon-0.9.1/install_dir/env
Installing requirements
Requirements are already installed
Downloading and unzipping PDF.js
Destination directory /home/stumblestone/Downloads/kotaemon-0.9.1/libs/ktem/ktem/assets/prebuilt/pdfjs-4.0.379-dist already exists. Skipping download.
Setting up a local model
LOCAL_MODEL not set in the
.env
file.Launching Kotaemon in your browser, please wait...
[nltk_data] Downloading package punkt_tab to /home/stumblestone/Downlo
[nltk_data] ads/kotaemon-
[nltk_data] 0.9.1/install_dir/env/lib/python3.10/site-
[nltk_data] packages/llama_index/core/_static/nltk_cache...
[nltk_data] Package punkt_tab is already up-to-date!
run_linux.sh: line 172: 5528 Illegal instruction PDFJS_PREBUILT_DIR="$pdfjs_prebuilt_dir" python $(pwd)/app.py
Will exit now...
The text was updated successfully, but these errors were encountered: