[ISSUE]
Joshua-Grant-kana opened this issue · comments
I'm currrently having this problem with running Devika
Describe your issue
Traceback (most recent call last):
File "C:\Users\AstriNET ENT\Downloads\devika-main\devika-main\devika.py", line 8, in
init_devika()
File "C:\Users\AstriNET ENT\Downloads\devika-main\devika-main\src\init.py", line 27, in init_devika
from src.bert.sentence import SentenceBert
File "C:\Users\AstriNET ENT\Downloads\devika-main\devika-main\src\bert\sentence.py", line 1, in
from keybert import KeyBERT
File "C:\Users\AstriNET ENT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\keybert_init_.py", line 1, in
from keybert.llm import KeyLLM
File "C:\Users\AstriNET ENT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\keybert_llm.py", line 4, in
from sentence_transformers import util
File "C:\Users\AstriNET ENT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\sentence_transformers_init.py", line 3, in
from .datasets import SentencesDataset, ParallelSentencesDataset
File "C:\Users\AstriNET ENT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\sentence_transformers\datasets_init_.py", line 1, in
from .DenoisingAutoEncoderDataset import DenoisingAutoEncoderDataset
File "C:\Users\AstriNET ENT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\sentence_transformers\datasets\DenoisingAutoEncoderDataset.py", line 1, in
from torch.utils.data import Dataset
File "C:\Users\AstriNET ENT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\torch_init_.py", line 141, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\AstriNET ENT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\torch\lib\shm.dll" or one of its dependencies.
Expected behavior
After installing and then I ran Devika as usual python devika.py I got this error and I need help.
Screenshots and logs
Configuration
- OS: [e.g. Windows, Linux, MacOS]
I have all the packages and dependencies installed
I have the same issue >﹏<
+1
create a virtualenv and activate it then install all the dependencies.