Skip to content

Instantly share code, notes, and snippets.

@mberman84
Created April 3, 2024 16:19
Show Gist options
  • Save mberman84/5ebdd660dce3b5474515ee91a82f4746 to your computer and use it in GitHub Desktop.
Save mberman84/5ebdd660dce3b5474515ee91a82f4746 to your computer and use it in GitHub Desktop.
Devika Installation
git clone https://github.com/stitionai/devika.git
conda create -n devika python=3.10
conda activate devika
which python
/usr/local/anaconda3/envs/devika/bin/python -m pip install -r requirements.txt
playwright install --with-deps
npm install
bun run dev
open new terminal
conda activate devika
rename sample.config.toml
fill out config.toml
@Adele583
Copy link

Adele583 commented Apr 3, 2024

thanks

@TheG1024
Copy link

TheG1024 commented Apr 3, 2024

24.04.03 21:57:49: root: INFO : Initializing Devika...
24.04.03 21:57:49: root: INFO : Initializing Prerequisites Jobs...
Traceback (most recent call last):
File "E:\AGI projects\devika\devika.py", line 10, in
init_devika()
File "E:\AGI projects\devika\src\init.py", line 24,
in init_devika
from src.bert.sentence import SentenceBert
File "E:\AGI projects\devika\src\bert\sentence.py",
line 1, in
from keybert import KeyBERT
File "C:\Users\lorenzo\anaconda3\Lib\site-packages\keybert_init_.py", line 1, in
from keybert.llm import KeyLLM
File "C:\Users\lorenzo\anaconda3\Lib\site-packages\keybert_llm.py", line 4, in
from sentence_transformers import util
File "C:\Users\lorenzo\anaconda3\Lib\site-packages\sentence_transformers_init
.py", line 3, in from .datasets import SentencesDataset, ParallelSentencesDataset
File "C:\Users\lorenzo\anaconda3\Lib\site-packages\sentence_transformers\datasets_init_.py", line 1, in
from .DenoisingAutoEncoderDataset import DenoisingAutoEncoderDataset
File "C:\Users\lorenzo\anaconda3\Lib\site-packages\sentence_transformers\datasets\DenoisingAutoEncoderDataset.py", line 5, in
from transformers.utils.import_utils import is_nltk_available, NLTK_IMPORT_ERROR
File "C:\Users\lorenzo\anaconda3\Lib\site-packages\transformers_init_.py", line 26, in
from . import dependency_versions_check
ImportError: cannot import name 'dependency_versions_check' from partially initialized module 'transformers' (most likely due to a circular import) (C:\Users\lorenzo\anaconda3\Lib\site-packages\transformers_init_.py)

how do i fix this

@Unknown1Creator
Copy link

Make it a standalone install, for non programmers this is completely confusing.

@Falkonar
Copy link

Falkonar commented Apr 3, 2024

SvelteKitError: Not found: /socket.io/ =(

@CaptainOddessy
Copy link

I am on arch linux. I tried to install it with python virtual env. And I end it up with no space left on device

Error

Downloading nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB)
━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━ 299.6/731.7 MB 594.7 kB/s eta 0:12:07
ERROR: Exception:
Traceback (most recent call last):
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 561, in read
data = self._fp_read(amt) if not fp_closed else b""
^^^^^^^^^^^^^^^^^^
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read
return self._fp.read(amt) if amt is not None else self._fp.read()
^^^^^^^^^^^^^^^^^^
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 102, in read
self.__buf.write(data)
File "/usr/lib/python3.11/tempfile.py", line 500, in func_wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/commands/install.py", line 377, in run
requirement_set = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 179, in resolve
self.factory.preparer.prepare_linked_requirements_more(reqs)
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 552, in prepare_linked_requirements_more
self._complete_partial_requirements(
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 467, in _complete_partial_requirements
for link, (filepath, _) in batch_download:
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/network/download.py", line 183, in call
for chunk in chunks:
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
for chunk in iterable:
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
for chunk in response.raw.stream(
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream
data = self.read(amt=amt, decode_content=decode_content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 560, in read
with self._error_catcher():
File "/usr/lib/python3.11/contextlib.py", line 158, in exit
self.gen.throw(typ, value, traceback)
File "/home/mahabub/devika/devika/devika/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 455, in _error_catcher
raise ProtocolError("Connection broken: %r" % e, e)
pip._vendor.urllib3.exceptions.ProtocolError: ("Connection broken: OSError(28, 'No space left on device')", OSError(28, 'No space left on device'))
I checked my disk space with

df -h 

this says I have 79G available

How I get that error

mkdir devicka
cd devika
git clone https://github.com/stitionai/devika
cd devicka
python -m venv devika
source devika.bin.activate
$(which python) -m pip install -r requirements.txt

I tried asking gemini and deepseek coder. But I found no solution for this.

@mubiru-simeon
Copy link

mubiru-simeon commented Apr 4, 2024

24.04.03 21:57:49: root: INFO : Initializing Devika... 24.04.03 21:57:49: root: INFO : Initializing Prerequisites Jobs... Traceback (most recent call last): File "E:\AGI projects\devika\devika.py", line 10, in init_devika() File "E:\AGI projects\devika\src\init.py", line 24, in init_devika from src.bert.sentence import SentenceBert File "E:\AGI projects\devika\src\bert\sentence.py", line 1, in from keybert import KeyBERT File "C:\Users\lorenzo\anaconda3\Lib\site-packages\keybert__init__.py", line 1, in from keybert.llm import KeyLLM File "C:\Users\lorenzo\anaconda3\Lib\site-packages\keybert_llm.py", line 4, in from sentence_transformers import util File "C:\Users\lorenzo\anaconda3\Lib\site-packages\sentence_transformers__init_.py", line 3, in from .datasets import SentencesDataset, ParallelSentencesDataset File "C:\Users\lorenzo\anaconda3\Lib\site-packages\sentence_transformers\datasets__init__.py", line 1, in from .DenoisingAutoEncoderDataset import DenoisingAutoEncoderDataset File "C:\Users\lorenzo\anaconda3\Lib\site-packages\sentence_transformers\datasets\DenoisingAutoEncoderDataset.py", line 5, in from transformers.utils.import_utils import is_nltk_available, NLTK_IMPORT_ERROR File "C:\Users\lorenzo\anaconda3\Lib\site-packages\transformers__init__.py", line 26, in from . import dependency_versions_check ImportError: cannot import name 'dependency_versions_check' from partially initialized module 'transformers' (most likely due to a circular import) (C:\Users\lorenzo\anaconda3\Lib\site-packages\transformers__init__.py)

how do i fix this

Naming the folder "AGI Projects" is wild.

@okich76
Copy link

okich76 commented Apr 4, 2024

instructions given on github are NOT accurate, carefully watch, pause, re-watch all the instructions in YouTube video and u would be able to install and run.
Do not follow instructions on Github, type every command from YouTube video!

@Falkonar
Copy link

Falkonar commented Apr 4, 2024

OK I don't follow youtube because I can't use CONDA in VS code for some reason and use python venv. I will try on fresh Install and reply . Thank you

@wilsoncelyCUC
Copy link

so close,

I've been encountering a persistent segmentation fault issue with bun on my macOS system. I followed the steps in this guide: https://gist.github.com/mberman84/5ebdd660dce3b5474515ee91a82f4746, but I'm unable to successfully execute bun commands.

Issue Description:
After installing bun using the official install script (curl -fsSL https://bun.sh/install | bash), any attempt to run bun commands, including bun run dev, bun --version, and even bun upgrade, results in a segmentation fault.

Steps to Reproduce:
Installed bun using the provided script: curl -fsSL https://bun.sh/install | bash.
Tried running bun --version to check the installation, but received a segmentation fault.
Attempted to run a development server with bun run dev, which also resulted in a segmentation fault.
Removed bun and its directory (rm -rf ~/.bun and rm /Users/myuser/.bun/bin/bun), then reinstalled, only to encounter the same issues.
System Information:
OS: macOS (specific version needed)
Shell: zsh
Node version (if relevant): v18.13.0
Attempts to resolve:
Reinstalled bun multiple times.
Checked for compatibility issues and ensured the system is up-to-date.
Tried different shell environments.
Despite these efforts, the issue persists, with bun consistently causing a segmentation fault upon any command execution. This has blocked my development work, as I cannot use bun for running my development server or any other tasks.

"""
(devika) ➜ ui git:(main) ✗ curl -fsSL https://bun.sh/install | bash

######################################################################## 100.0%
bun was installed successfully to ~/.bun/bin/bun
bash: line 159: 21165 Segmentation fault: 11 IS_BUN_AUTO_UPDATE=true $exe completions >&/dev/null
Run 'bun --help' to get started
(devika) ➜ ui git:(main) ✗ bun -version
[1] 21178 segmentation fault bun -version
(devika) ➜ ui git:(main) ✗ which bun
/Users/wilsoncely/.bun/bin/bun
(devika) ➜ ui git:(main) ✗ bun run dev
[1] 21223 segmentation fault bun run dev
(devika) ➜ ui git:(main) ✗ code.
zsh: command not found: code.

"""

@hasnocool
Copy link

Make it a standalone install, for non programmers this is completely confusing.

This is confusing enough for programmers and non programmers alike.

@sonicnerd14
Copy link

On Windows 11 the bun install command doesn't seem to succeed. Using curl -fsSL https://bun.sh/install | bash I get the following errors:

<3>WSL (13) ERROR: CreateProcessParseCommon:711: Failed to translate c:\devika\ui
<3>WSL (13) ERROR: CreateProcessParseCommon:757: getpwuid(0) failed 2
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\Library\mingw-w64\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\Library\usr\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\Library\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\Scripts
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\condabin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Python312\Scripts
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Python312
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\python310\scripts
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\python310
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files (x86)\common files\intel\shared libraries\redist\intel64\compiler
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files (x86)\common files\oracle\java\javapath
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files (x86)\vmware\vmware player\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\oculus\support\oculus-runtime
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows\system32
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows\system32\wbem
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows\system32\windowspowershell\v1.0
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows\system32\openssh
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\dotnet
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\docker\docker\resources\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\programdata\chocolatey\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\git\cmd
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\system32
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\System32\Wbem
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\System32\OpenSSH
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\Hostx64\x64
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files\Docker\Docker\resources\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files\nodejs
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Local\Programs\Python\Python311\Scripts
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Local\Programs\Python\Python311
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Local\Microsoft\WindowsApps
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\tools\msys64
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\users\yepyy\appdata\roaming\python\python310\scripts
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate c:\users\yepyy.local\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Local\Programs\Microsoft VS Code\bin
<3>WSL (13) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Roaming\npm
Processing fstab with mount -a failed.
Failed to mount C:, see dmesg for more details.
Failed to mount D:, see dmesg for more details.
Failed to mount E:, see dmesg for more details.
Failed to mount F:, see dmesg for more details.
Failed to mount G:, see dmesg for more details.

<3>WSL (13) ERROR: CreateProcessEntryCommon:334: getpwuid(0) failed 2
<3>WSL (13) ERROR: CreateProcessEntryCommon:505: execvpe /bin/bash failed 2
<3>WSL (13) ERROR: CreateProcessEntryCommon:508: Create process not expected to return

(devika) c:\devika\ui>bun run dev
'bun' is not recognized as an internal or external command,
operable program or batch file.

(devika) c:\devika\ui>curl -fsSL https://bun.sh/install | bash
<3>WSL (27) ERROR: CreateProcessParseCommon:711: Failed to translate c:\devika\ui
<3>WSL (27) ERROR: CreateProcessParseCommon:757: getpwuid(0) failed 2
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\Library\mingw-w64\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\Library\usr\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\Library\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\Scripts
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\envs\devika\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\anaconda3\condabin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Python312\Scripts
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Python312
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\python310\scripts
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\python310
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files (x86)\common files\intel\shared libraries\redist\intel64\compiler
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files (x86)\common files\oracle\java\javapath
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files (x86)\vmware\vmware player\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\oculus\support\oculus-runtime
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows\system32
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows\system32\wbem
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows\system32\windowspowershell\v1.0
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\windows\system32\openssh
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\dotnet
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\docker\docker\resources\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\programdata\chocolatey\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\program files\git\cmd
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\system32
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\System32\Wbem
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\System32\OpenSSH
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\Hostx64\x64
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files\Docker\Docker\resources\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files\nodejs
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Local\Programs\Python\Python311\Scripts
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Local\Programs\Python\Python311
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Local\Microsoft\WindowsApps
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\tools\msys64
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\users\yepyy\appdata\roaming\python\python310\scripts
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate c:\users\yepyy.local\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Local\Programs\Microsoft VS Code\bin
<3>WSL (27) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yepyy\AppData\Roaming\npm
Processing fstab with mount -a failed.
Failed to mount C:, see dmesg for more details.
Failed to mount D:, see dmesg for more details.
Failed to mount E:, see dmesg for more details.
Failed to mount F:, see dmesg for more details.
Failed to mount G:, see dmesg for more details.
Failed to mount C:, see dmesg for more details.
Failed to mount D:, see dmesg for more details.
Failed to mount E:, see dmesg for more details.
Failed to mount F:, see dmesg for more details.
Failed to mount G:, see dmesg for more details.

<3>WSL (27) ERROR: CreateProcessEntryCommon:334: getpwuid(0) failed 2
<3>WSL (27) ERROR: CreateProcessEntryCommon:505: execvpe /bin/bash failed 2
<3>WSL (27) ERROR: CreateProcessEntryCommon:508: Create process not expected to return
curl: (23) Failure writing output to destination

Attempted this on two separate machines and get the same error on both.

@IvCodes
Copy link

IvCodes commented Apr 8, 2024

[WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions: ('0.0.0.0', 1337) i this error in windows anyone know how to fix it , this is after python devika.py

@yakupcemilk
Copy link

I can't install playwright at Garuda Linux, can you please help me? Devika is not working correctly. It says Devika is active but Devika didn't respond my prompts.

@mubiru-simeon
Copy link

I noticed that the steps followed by Mr Berman to install devika do not work for most. But if you follow the steps on the Devika Repo itself, they work perfectly.
https://github.com/stitionai/devika

Key points to note is
Install uv - Python Package manager (https://github.com/astral-sh/uv)
Install bun - JavaScript runtime (https://bun.sh/docs/installation)
Install and setup Ollama (https://ollama.com/) (if you don't want to use the local models then you can skip this step)

Restart your pc. Then run these commands
ollama serve
git clone https://github.com/stitionai/devika.git
cd devika/
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
playwright install --with-deps
cd ui/
bun install
bun run dev
cd ..
python3 devika.py

Matthew skipped several steps, because he is always bench marking LLMS and he probably already has most of these installed.
Also, on every step, restart your computer. Like for real. It makes all the difference.

Again, here, i have summarized a lot. Visit the DEVIKA Repo and follow the steps there, step by step.

@Falkonar
Copy link

Falkonar commented Apr 9, 2024

Restart your pc. Then run these commands ollama serve git clone https://github.com/stitionai/devika.git cd devika/ uv venv source .venv/bin/activate uv pip install -r requirements.txt playwright install --with-deps cd ui/ bun install bun run dev cd .. python3 devika.py

What is mean python3 devika.py ? I have no python3 install and it's dives and error and python devika.py runs it but interface not respond. Instructions don't explain what python version to use and why they use uv command. This readme works only on clean windows installation without any other installs.

@Ep0chk
Copy link

Ep0chk commented Apr 15, 2024

source .venv/bin/activate

this is best run to on its own bare metal linux containers. its not a windows "app" - you'll run into a lot of dependency and path errors using windows

@Falkonar
Copy link

source .venv/bin/activate

this is best run to on its own bare metal linux containers. its not a windows "app" - you'll run into a lot of dependency and path errors using windows

Thank you ! I figured out too that run at least on WSL the best way

@BindingOx
Copy link

[WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions: ('0.0.0.0', 1337) i this error in windows anyone know how to fix it , this is after python devika.py

did you solve this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment