Home Creators Posts Import Register Favorites Logout

Downloads

Content

Hey everyone! I've created a 1-click installer for the AMAZING Devika AI Agent Webui. An open-source version of Devin, which is an Ai agent tool that allows you to automatically build apps and programs simply by using a prompt. Devika does everything for you, just input what you want and it will then prepare an action plan, go online to search for informations, write the code and create the project files directly onto your computer! Crazy stuff! And you can even use Local LLM! You Absolutely need to try this out!

Watch the video about DEVIKA: https://youtu.be/B7TjQyBCGk4

The installer of course automates the entire install process!

Here's how it works:

1. Download the installer (DEVIKA_AUTO_INSTALLER.bat or the ollama_fix version if you want to use local LLM) and the launcher (LAUNCHER-DEVIKA.bat) as well as the Project-LAUNCHER.bat if you want to easily launch python projects (only works with .py files).

2. Create a new folder on your computer and place the installer inside

3. Launch the installer

4.???

5. Profit  😎

You can then put the launcher inside the newly created "devika" folder and double click on it each time you want to launch DEVIKA!😉

As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!

Files

Comments

Harborlight

will it work on AMD Radeon?

Arjan Speelman

Script seems to fail on requiring a restart after installing Bun. After that I keep getting "npm ERR! enoent ENOENT: no such file or directory, open 'E:\dev\devika\package.json'". The folder contains package-lock.json. Question of a rename or is that locked by a different step of the process?

Gordon Wegener

bun: command not found: vite error: script "start" exited with code 1 EDIT: Just my antivirus acting up

Aitrepreneur

false positive, antiviruses sucks nowadays, they cause more issues than they solve, more some antiviruses than others, just disable it before the install

Aitrepreneur

SD3 is coming out soon, so....all other models will be pretty much obsolete very soon

Aitrepreneur

Try relaunching the installer in a new folder, bun install is very annoying sometimes

Aitrepreneur

yup antiviruses really sucks sometimes for bat files...

Accessible Game Mods by James

npm ERR! code ENOENT npm ERR! syscall open npm ERR! path D:\devika\devika\package.json npm ERR! errno -4058 npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\devika\devika\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: C:\Users\Jwood\AppData\Local\npm-cache\_logs\2024-04-26T19_09_06_536Z-debug-0.log (env) D:\devika\devika>

jack aguirre

same error for me like @JamesWoodill. Devika folder is created but launcher just hast terminal with "The System cannot find the path specified"

Aitrepreneur

Could be that npm is not installing correctly. Try relaunching the installer in a new folder with antivirus off

Aitrepreneur

Could be that npm is not installing correctly. Try relaunching the installer in a new folder with antivirus off

jack aguirre

Grateful for your help getting Ai running for the common folk

Aitrepreneur

this means you don't have enough money on the open AI api dashboard or you haven't configured it correctly

Express Appel

Error with the 1-click installer on my side (already tried to restarrt the installer) : npm ERR! code ENOENT npm ERR! syscall open npm ERR! path D:\Dev\devika/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'D:\Dev\devika\package.json' npm ERR! enoent This is related to npm not being able to find a file.

Arjan Speelman

Thanks for the reply. The Bun part works after a restart, but in the new folder I still end up with the package-lock.json file instead of the package.json file the pop-up process is looking for. Similar to the other replies as well (npm ERR! code ENOUNT etc).

Austin Hartt

Was it windows defender? Thats all I have on and I can't see where anything is getting blocked... Did you turn something off to make it work? I am getting the same error but I don't see anyway to fix it.

Aitrepreneur

hmm could be an issue with the npm install. Try this: Go inside the devika folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter npm install press enter cd ui press enter bun install press enter bun add vite press enter could be that the third separate window did not open for some reason, try this and let me know

Aitrepreneur

hmm could be an issue with the npm install. Try this: Go inside the devika folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter npm install press enter cd ui press enter bun install press enter bun add vite press enter could be that the third separate window did not open for some reason, try this and let me know

Aitrepreneur

hmm could be an issue with the npm install. Try this: Go inside the devika folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter npm install press enter cd ui press enter bun install press enter bun add vite press enter could be that the third separate window did not open for some reason, try this and let me know

Arjan Speelman

I got the same error after 'npm install'. So I renamed 'package-lock.json' to 'package.json' and then did the steps again and it worked. Server is up and running and I can continue your video. Thanks! :)

Robb

I'm getting the same errors

Aitrepreneur

huh...package-lock.json? where did you find this? There should only be a package.json file in the Ui folder..

Arjan Speelman

After the third pop-up window appears (the one that does the npm install step), this is the file that is in my Devika folder. The window where I start the installation and the window that runs the bun commands both ended with success messages.

LtCzr

Sorry if this is a little off topic, but where can i submit new ideas for future videos? I just saw the project flashface on github with what looks like comparable or even better results than instantid. But not sure where to officially submit the idea?

Xodroc

Ollama installer is evil and downloads models to the C drive. Wonder if we can use Devika to make an extension for itself so we can just use Oobabooga API or something. Would be really nice to use custom finetuned models from huggingface.

Aitrepreneur

huh...and the third pop up window stays open?

Aitrepreneur

you can just dm me next time, I'll take a look

Arjan Speelman

Do you have a "package-lock.json" in your Devika folder?

Arjan Speelman

Indeed. Showing the same error you see in the first reply by James Woodill.

Gunnar Steingrímsson

(env) C:\devika\devika>npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\devika\devika/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\devika\devika\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A comple

Robb

I found the problem everyone is having. npm install needs to be ran from the UI folder where the package.json file is located, NOT from the main folder. So you need to "cd ui" BEFORE npm install, not after.

Aitrepreneur

ok thank you, this helps. I think I know how to solve this thanks

Aitrepreneur

Yup I saw that too, i already updated the installer ;)

Gunnar Steingrímsson

I tried that but I get an eror here: (env) C:\devika2\devika>npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\devika2\devika/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\devika2\devika\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: C:\Users\gunna\AppData\Local\npm-cache\_logs\2024-04-26T21_32_48_299Z-debug-0.log There is no package.json C:\devika2\devika/package.json Only package-lock.json that includes: { "name": "devika", "lockfileVersion": 3, "requires": true, "packages": {} } Can you please add package.json to your attachment files?

jack aguirre

tried launching in new folder and made sure antivirus was off but still getting same err as above

Gunnar Steingrímsson

Sorry, I was replying to this step: npm install I'll try the new installers: DEVIKA_AUTO_INSTALLER - debug.bat DEVIKA_AUTO_INSTALLER - debug2.bat

mysteryintime

Instalation seams ok. But I keep getting "Fail to connect to server" after open it. Any ideia?

Express Appel

I don't have the error (even if i still don't have the package.json in my folder), i can start Devika, but i get a "Failed to connect to server" and can't edit the API

Aitrepreneur

give me the full error log, have you waited until you see the message "devika is up and running"?

Aitrepreneur

give me the full error log, have you waited until you see the message "devika is up and running"?

Jose Salvador

Hi, Whenever I try to run the installer-ollama-fix i get this message and two command prompts: [INFO] Winget is already installed. Python already installed. Git already installed. [WARN] Node.js is not installed on this system. [INFO] Installing Node.js using Winget... Error al abrir los orígenes, pruebe el comando "source reset" si el problema persiste. [INFO] Node.js installed successfully. Please restart the Installer. Presione una tecla para continuar . . . on one, and on the other one: ################################################################################################################ 100.0% Bun 1.1.5 was installed successfully! The binary is located at C:\Users\xxxxx\.bun\bin\bun.exe To get started, restart your terminal/editor, then type "bun" E:\DEVIKA>

Aitrepreneur

first redownload the installer, it was reupdated lately, disable any antivirus/firewall/vpn and retry again in a new folder

talpazzo

I had the same problems at the beginning, I resolved cleaning my installation, redownloaded Ollama (full install on windows) git reset --hard git clean -fd git pull downloaded Ollama and installed: https://ollama.com/download ollama run llama3 reinsert LAUNCHER-DEVIKA.bat into the folder, now everything works

Gunnar Steingrímsson

It sometimes works but sometimes I get (I'm using Claude API): root: ERROR : Inference took too long. Model: CLAUDE, Model ID: Claude 3 Opus Also it eats through my Claude credits pretty fast. Any suggestion what to use instead for similar quality? Update: I updated to GPT4-Turbo and I don't get this error anymore

Sid (edited)

Comment edits

2026-09-08 20:00 ✓ built in 7.74s Run npm run preview to preview your production build locally. > Using @sveltejs/adapter-auto Could not detect a supported production environment. See https://kit.svelte.dev/docs/adapters to learn how to configure your app to run on the platform of your choosing ✔ done error when starting preview server: Error: listen EACCES: permission denied ::1:3001 at Server.setupListenHandle [as _listen2] (node:net:1880:21) at listenInCluster (node:net:1945:12) at GetAddrInfoReqWrap.doListen [as callback] (node:net:2109:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:8) error: script "start" exited with code 1 (env) W:\devika\devika\ui>
2024-04-27 15:19

Accessible Game Mods by James

The install works now but now can't make a project or select the model or anything. it does nothing

Euchale

I had a problem but managed to fix it myself, leaving the solution here just in case: When you copy your google API key it adds an additional " " empty space at the end of the key. You have to delete that empty space for it to work. Not sure why that happened.

Aitrepreneur

Opus is the biggest and most expensive model, again this is kinda a work in progress, sometimes it's really just an anooying bug, sometimes with the same prompt and same model by relaunching devika it works again.... also be careful that claude api has some api hit limit which makes it really annoying as well, meaning that even if you have credits left but you used your Api hit limit, it will refuse to work... gpt-4 or 3.5 is the easiest to use by far if you have some money

Aitrepreneur

I think if you edit the devika.py file, right at the bottom, very last line: socketio.run(app, debug=False, port=1337, host="0.0.0.0") you can change the port to something else

Ruiz Lihuel Alejandro

Thanks for your effort! I've found an error while trying to run the launcher: " error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\cl.exe' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> fastlogging note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [notice] A new release of pip available: 22.2.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip python: can't open file 'D:\\Downloads\\AIAgent\\devika\\main.py': [Errno 2] No such file or directory Press any key to continue . . ." Thank you for any help you can offer in advance :)

mysteryintime

I have two windows open when I click to run. One says: 24.04.27 20:38:21: root: INFO : Initializing Devika... 24.04.27 20:38:21: root: INFO : checking configurations... 24.04.27 20:38:21: root: INFO : Initializing Prerequisites Jobs... 24.04.27 20:38:27: root: INFO : Loading sentence-transformer BERT models... 24.04.27 20:38:29: root: INFO : BERT model loaded successfully. 24.04.27 20:38:33: root: WARNING: Ollama not available 24.04.27 20:38:33: root: WARNING: run ollama server to use ollama models otherwise use API models 24.04.27 20:38:33: root: INFO : Devika is up and running!

mysteryintime

The other says: $ vite build && vite preview vite v5.2.10 building SSR bundle for production... ✓ 650 modules transformed. vite v5.2.10 building for production... ✓ 689 modules transformed. .svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB .svelte-kit/output/client/.vite/manifest.json 5.68 kB │ gzip: 0.91 kB .svelte-kit/output/client/_app/immutable/assets/tiktoken_bg.D1vgAo9Z.wasm 1,100.09 kB .svelte-kit/output/client/_app/immutable/assets/2.B4T8hs7e.css 6.19 kB │ gzip: 2.29 kB .svelte-kit/output/client/_app/immutable/assets/Toaster.BkLvsHqN.css 12.78 kB │ gzip: 2.79 kB .svelte-kit/output/client/_app/immutable/assets/0.yA9cHgEM.css 20.62 kB │ gzip: 4.69 kB .svelte-kit/output/client/_app/immutable/entry/start.6-JzW0fv.js 0.07 kB │ gzip: 0.08 kB .svelte-kit/output/client/_app/immutable/chunks/stores.BI02hOH2.js 0.23 kB │ gzip: 0.17 kB .svelte-kit/output/client/_app/immutable/nodes/1.Bz_xGFHe.js 0.79 kB │ gzip: 0.49 kB .svelte-kit/output/client/_app/immutable/chunks/each.DpM77a32.js 0.86 kB │ gzip: 0.53 kB .svelte-kit/output/client/_app/immutable/chunks/index.ChJnJFTB.js 0.99 kB │ gzip: 0.60 kB .svelte-kit/output/client/_app/immutable/chunks/Toaster.svelte_svelte_type_style_lang.JF36UPOz.js 2.57 kB │ gzip: 1.06 kB .svelte-kit/output/client/_app/immutable/chunks/mode.DCiCCREx.js 2.66 kB │ gzip: 1.06 kB .svelte-kit/output/client/_app/immutable/nodes/3.z7y8LD_B.js 3.69 kB │ gzip: 1.51 kB .svelte-kit/output/client/_app/immutable/chunks/index.Csuh-YA_.js 5.52 kB │ gzip: 2.68 kB .svelte-kit/output/client/_app/immutable/entry/app.B6pq7KyO.js 6.66 kB │ gzip: 2.70 kB .svelte-kit/output/client/_app/immutable/chunks/icons.N1DyG8ix.js 6.98 kB │ gzip: 2.79 kB .svelte-kit/output/client/_app/immutable/chunks/scheduler.5ya1q3Tu.js 9.28 kB │ gzip: 3.58 kB .svelte-kit/output/client/_app/immutable/chunks/utils.CB6oI_vy.js 22.08 kB │ gzip: 7.57 kB .svelte-kit/output/client/_app/immutable/chunks/entry.D2lyT4hO.js 25.81 kB │ gzip: 10.33 kB .svelte-kit/output/client/_app/immutable/nodes/0.aJlL4kym.js 41.33 kB │ gzip: 13.34 kB .svelte-kit/output/client/_app/immutable/chunks/api.CLBRtRZf.js 42.30 kB │ gzip: 13.37 kB .svelte-kit/output/client/_app/immutable/nodes/4.D6m2gd9q.js 120.29 kB │ gzip: 34.90 kB .svelte-kit/output/client/_app/immutable/nodes/2.B9rpJGLf.js 1,450.26 kB │ gzip: 598.81 kB (!) Some chunks are larger than 500 kB after minification. Consider: - Using dynamic import() to code-split the application - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. ✓ built in 3.23s .svelte-kit/output/server/.vite/manifest.json 3.77 kB .svelte-kit/output/server/_app/immutable/assets/_page.B4T8hs7e.css 6.19 kB .svelte-kit/output/server/_app/immutable/assets/Toaster.BkLvsHqN.css 12.78 kB .svelte-kit/output/server/_app/immutable/assets/_layout.yA9cHgEM.css 20.62 kB .svelte-kit/output/server/entries/pages/_layout.js 0.04 kB .svelte-kit/output/server/chunks/ssr2.js 0.10 kB .svelte-kit/output/server/internal.js 0.31 kB .svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.47 kB .svelte-kit/output/server/chunks/stores.js 0.80 kB .svelte-kit/output/server/entries/pages/logs/_page.svelte.js 1.47 kB .svelte-kit/output/server/chunks/api.js 1.96 kB .svelte-kit/output/server/chunks/utils.js 2.05 kB .svelte-kit/output/server/chunks/index.js 2.68 kB .svelte-kit/output/server/chunks/mode.js 5.44 kB .svelte-kit/output/server/chunks/Toaster.svelte_svelte_type_style_lang.js 5.63 kB .svelte-kit/output/server/chunks/exports.js 5.96 kB .svelte-kit/output/server/chunks/internal.js 6.24 kB .svelte-kit/output/server/chunks/icons.js 6.70 kB .svelte-kit/output/server/chunks/ssr.js 8.94 kB .svelte-kit/output/server/entries/pages/_layout.svelte.js 83.19 kB .svelte-kit/output/server/index.js 92.10 kB .svelte-kit/output/server/entries/pages/settings/_page.svelte.js 103.86 kB .svelte-kit/output/server/entries/pages/_page.svelte.js 1,186.14 kB ✓ built in 21.87s Run npm run preview to preview your production build locally. > Using @sveltejs/adapter-auto Could not detect a supported production environment. See https://kit.svelte.dev/docs/adapters to learn how to configure your app to run on the platform of your choosing ✔ done ➜ Local: http://localhost:3001/ ➜ Network: use --host to expose ➜ press h + enter to show help

mysteryintime

If I have log in any other folder please let me know so I can send it.

Will Simon

I did all the things. Still get it where it just goes straight to Bun. Nothing in the folder, except a python-3.10.6-amd64

Will Simon

okay. fixed it. Python didn't have the environmental PATH thingy. If you don't know what that is, Aitrepreneur can explain. I don't feel like it. Google it kids, even better.

MA

Getting the following error when running the launcher: D:\Devika2\devika>LAUNCHER-DEVIKA.bat 24.04.27 19:43:12: root: INFO : Initializing Devika... 24.04.27 19:43:12: root: INFO : checking configurations... 24.04.27 19:43:12: root: INFO : Initializing Prerequisites Jobs... 24.04.27 19:43:14: root: INFO : Loading sentence-transformer BERT models... 24.04.27 19:43:15: root: INFO : BERT model loaded successfully. 24.04.27 19:43:16: root: INFO : Ollama available Traceback (most recent call last): File "D:\Devika2\devika\devika.py", line 27, in from src.agents import Agents File "D:\Devika2\devika\src\agents\__init__.py", line 1, in from .agents import Agents File "D:\Devika2\devika\src\agents\agents.py", line 2, in from .researcher import Researcher File "D:\Devika2\devika\src\agents\researcher\__init__.py", line 1, in from .researcher import Researcher File "D:\Devika2\devika\src\agents\researcher\researcher.py", line 3, in from src.agents.agent_template import AgentTemplate File "D:\Devika2\devika\src\agents\agent_template.py", line 12, in class AgentTemplate: File "D:\Devika2\devika\src\agents\agent_template.py", line 54, in AgentTemplate def parse_answer(self, response: str) -> dict | bool: TypeError: unsupported operand type(s) for |: 'type' and 'type'

KStar

Did you get any response or solution for this? Cheers

Aitrepreneur

Yeah I think I will make a special video about the right way of installing python, too many people have it installed incorrectly which also cause 90% of the issues

Aitrepreneur

Thanks for the info! Always good to know :)

Aitrepreneur

Could be a multitude of issues tbh. Bad python install, some antivirus/firewall/vpn not allowing the connection... First make sure hat you have disabled any antivirus/firewall/vpn from running and blocking the file/connection and try again in a new folder.

Anton Malov

I have a similar problem, although all variables in the PATH are set correctly and I have not had such problems with other installers. I don't understand how to fix it. It also gave me an error, but I fixed it by changing the settings via Powershell C:\Users\xxx\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:3 + . 'C:\Users\xxx\Documents\WindowsPowerShell\profile.ps1' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess

Roy Greenhalgh

Installed fine...having issues in Apis working...

Nev

having issues installing... PS C:\dev> .\DEVIKA_AUTO_INSTALLER-ollama_fix.bat [INFO] Winget is already installed. Installing Python 3.10.6... Failed to download Python installer.

Nev

I even manually installed python after still same error

james

when the web page loads for it i go to settings but there is nowhere for me to put the api keys all thats there is a edit button but that it

MA

Immediately on launch. 1. Start LAUNCHER-DEVIKA.bat 2. Two terminals pop up. 3. The error above happens in one of them, the other one seems to work correctly. Interestingly, I re-ran the launcher to make sure I was giving you the correct sequence of events and it just worked? Nothing has changed, I haven't restarted my computer or anything.

Jack Ferret

I am having this same issue

Arknight

Hello, I can't enter my API keys or select a model because the dropdown menu doesn't work.

Synapse

Same issue for me. Just blank screens. No errors during the install.

LeWonderLust

I may be doing something wrong. Used your one click installer but i cant click the local 3001 thing like you do in the youtube video. I cant get the webpage to load. I had some trouble running sillyhouse too, just says oress any key to continue but nothinf happens when i do. I adore any help provided!

Aitrepreneur

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

make sure that you have disabled any antivirus/firewall/vpn from running and blocking the file/connection.

james

im very sorry but i did what you said and it has the same result and says failed to connect to server when i did the back half of your manual install video to show where it say ollm and devika is up and running i dont get that it has a issue with ollm and it never says devika is up and running E:\devika>env\Scripts\activate (env) E:\devika>python devika.py 24.04.28 19:05:01: root: INFO : Initializing Devika... 24.04.28 19:05:01: root: INFO : checking configurations... 24.04.28 19:05:01: root: INFO : Initializing Prerequisites Jobs... 24.04.28 19:05:03: root: INFO : Loading sentence-transformer BERT models... 24.04.28 19:05:05: root: INFO : BERT model loaded successfully. 24.04.28 19:05:08: root: WARNING: Ollama not available 24.04.28 19:05:08: root: WARNING: run ollama server to use ollama models otherwise use API models Traceback (most recent call last): File "E:\devika\devika.py", line 24, in from src.agents import Agent File "E:\devika\src\agents\__init__.py", line 1, in from .agent import Agent File "E:\devika\src\agents\agent.py", line 2, in from .researcher import Researcher File "E:\devika\src\agents\researcher\__init__.py", line 1, in from .researcher import Researcher File "E:\devika\src\agents\researcher\researcher.py", line 13, in class Researcher: File "E:\devika\src\agents\researcher\researcher.py", line 26, in Researcher def validate_response(self, response: str) -> dict | bool: TypeError: unsupported operand type(s) for |: 'type' and 'type'

Aaron1611

Ty, it got further, but now I encountered this- Requirement already satisfied: mpmath>=0.19 in c:\users\forev\appdata\local\programs\python\python310\lib\site-packages (from sympy->torch>=1.11.0->sentence-transformers>=0.3.8->keybert->-r requirements.txt (line 20)) (1.3.0) python: can't open file 'C:\\Users\\forev\\Desktop\\devika\\main.py': [Errno 2] No such file or directory

Aitrepreneur

Again this error means that python was not installed correctly. Make sure that the 3.10 python is the only python version installed and that it's correctly added to path, for this you can go to the env variables and make sure that there is 2 python entry added to path: C:\Users\username\AppData\Local\Programs\Python\Python310\Scripts\ C:\Users\username\AppData\Local\Programs\Python\Python310\ and make sure that they are at the top of the list, then disable any antivirus/firewall/vpn and reinstall in another folder.

Aitrepreneur

have you installed ollama? was the installation done correctly? Any errors during install? Have you tried relaunching the launcher again?

james

yes i have to both and during the installation there was no errors and the ollama finished in almost 2 seconds

Ruiz Lihuel Alejandro

Yes, but I tried again after restarting and it worked in the same folder without any other change :o

Ruiz Lihuel Alejandro

Thanks for your fast response! It just worked on my second attempt after restarting. I just tried before disabling anything. Mmm but maybe I didn't close one of the windows opened after the installation finished this time. Then I launched the "LAUNCHER-DEVIKA.bat" file with no issues.

LeWonderLust

Got passed that step! Now Im getting the work connecting to the server. I dled the ollama one and i get a lil red box who says "failed to connect to server" Any words of wisdom for my small brain

Thomas Levenhagen

I also cannot enter my API keys, upon further investigation I found that when I try to run devika.py I get a Traceback, listing various files within the devika folder, and a "TypeError: unsupported operand type(s) for |: 'type' and 'type'" as such none of the web interface aside from the changing from light to dark is able to be changed, I cannot put in any of my API's. Any idea?

Jack Ferret

I disabled Windows defender as much as it would let me and I have no VPN. Issue persists.

Anton Malov

I found a solution, and it turned out to be not about Python. As the error says, the application cannot access Winget. To solve it, you need to download/update the Microsoft app installer and add an entry like C:\Users\*Username*\AppDataLocalMicrosoftWindowsAppsMicrosoft.DesktopAppInstaller_8wekyb3d8bbwe to Path. Run the application for the first time—Node.js will be installed. After that, run it again, and the Devika installation will start.

Arknight

Is it possible to get lets say a .txt file as an output instead of a .py file ? if the agents generates a story for example. Thank you

NateMac00

i'm getting the same error, I did try uninstalling/reinstalling python. as you said above. UPDATE: took uninstalling, restarting, installing, modify install, then it finally worked.

NateMac00

i could not get npm install to work, if i copied the 'package.json' from the ui folder into the root folder, it worked.

Kuzo

I'm getting the same issue. I tried the alternate launcher with the other address and still getting the same issue

Aitrepreneur

Have you tried the V2 launcher (I updated it recently)? And do you see 2 command prompt windows appear?

Aitrepreneur

That should have solved the issue already...have you tried it in a different browser? Do you have any errors in the command prompt window?

Aitrepreneur

yes, you can download the updated launcher V2 (from the page) Once it launches instead of the localhost url, choose the other 192.168.... url

Aitrepreneur

Have you tried the V2 launcher (I updated it recently)? And do you see 2 command prompt windows appear?

Aitrepreneur

It all depends on the model you use and what you ask of them

Aitrepreneur

weird, package.json should be in the Ui folder instead with the npm install but hey at leas it works I guess😅

LeWonderLust

It ended up being good ol Bit defender, defending my bits! thanks a ton! currently diving into oogabooga(lol not the name but the text one) Thanks for all the help and great videos. I used to follow all the manual steps, and Boy you are right- the one clicks make things so so so much easier lol

Jack Ferret

Where would I find an error log? On my desktop I have a folder 'devika2' that contains DEVIKA_AUTO_INSTALLER, LAUNCHER-DEVIKA and Project-Launcher. After running the installer, two terminals appear. The foreground terminal says: ################################################################################################################ 100.0% Bun 1.1.6 was installed successfully! The binary is located at C:\Users\Ferret\.bun\bin\bun.exe To get started, restart your terminal/editor, then type "bun" C:\Users\Ferret\Desktop\devika2> The background terminal closes and nothing happens. This is what happens every time. If I grab the background terminal window during the time it would normally close, I can capture this: [INFO] Winget is already installed. Installing Python 3.10.6... Failed to download Python installer. After this issue, a 4th file called python-3.10.6-amd64 exists.

caidicus

The installer and ollama installer bat files both claim to be infected with "HEUR:Trojan.BAT.Alien.gen" trojan virus.

caidicus

For what it's worth, none of the other files I attempted to download from here are giving me this antivirus trigger, just those two.

dwinchester

every time I do I request with every model I have this message: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

mike_cant_draw

I got the same thing in Chrome a few weeks back on a different one of his posts - it went away after a couple of hours. This one gave me no problems at all, likely just a browser thing

james

yes i do and yes i used the v2 launcher when using the v2 launcher it pops up and then the second command prompt window appers with whats above.

james

when i moved the ollama file into the devika folder and run it, it does install a few things but a command prompt windows pops up with npm ERR! code EBUSY npm ERR! syscall rename npm ERR! path E:\devika\devika\ui\node_modules\@sveltejs\kit npm ERR! dest E:\devika\devika\ui\node_modules\@sveltejs\.kit-YYRLN1j4 npm ERR! errno -4082 npm ERR! EBUSY: resource busy or locked, rename 'E:\devika\devika\ui\node_modules\@sveltejs\kit' -> 'E:\devika\devika\ui\node_modules\@sveltejs\.kit-YYRLN1j4' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\jimmy's\AppData\Local\npm-cache\_logs\2024-04-30T16_08_00_604Z-debug-0.log

Ps-Andy

did you fix this>? I'm having the same issue, my settings on openai api seem to be correct.

Aitrepreneur

Oof...yeah...looks like a bunch of issues here. First, the the fact that it can't even download the python installer means that there is something on your computer blocking the connection, it's usually an antivirus and/or a firewall issue, disable everything before the installation. Secondly, the fact that it's trying to dl python means that you don't even have a correct python install, which is also usually cause 90% of all issues, so before running the installer I would actually recommend installing the correct python version manually. For this: you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just relaunch the 1-click installer in a new folder without any antivirus/firewalls/vpn and try again.

Aitrepreneur

what do you mean ollama file? Have you tried reinstalling in a new folder and make some notes of the messages you get in the command prompt? That could be useful in trying to determine if the installation was done correctly as well, you can dm me those logs

Aitrepreneur

Yeah, antiviruses ruining the fun for everyone once again have fun then :D

Aitrepreneur

yeah it's false positive, I recommend disabling antiviruses before installing they might interfere with the installation

Aitrepreneur

I seem to remember that open ai changed a few settings for API not long ago, you might need to actually add some money and create a new API key after

TheMigVee

I got error "postinstall script from "@sveltejs/kit" exited with 1 bun add v1.1.6"

dwinchester

this davika would have been a good idea ... but you have to oay the api prvaiders first...

Kuzo

I tried on different browsers and still the same thing. I see warning Ollama not available. run Ollama server to use ollama models otherwise use API models. Type error: unsupported operand type (s) for |: 'type' and 'type'

Kuzo

it loads up and then one of the command prompt windows closes. And the ui loads in the browser but says its not connected.

Kuzo

also i am using the v2 launcher

Aitrepreneur

Ok the fact that one of the command prompt window closes means that something when wrong during install, you could try 2 things: 1) Try to reinstall in a new folder 2) IF the problem is there there, record your screen so that you can see the error message on the windows prompt, so that we can solve the issue

Aitrepreneur

you could technically use the local ollama models, as long as the model you choose is powerful enough

Josh and Kassandra

What's the turnaround time for the AI to complete a project. I can't tell if it's working.

Aitrepreneur

pretty fast, usually less than a minute, check the command prompt window if you see an error

JollyDGaint

I've got it up and running ! Though sometimes it stops and asks me a question and i cant respond to it. I cant select the text field to input anything. Big red stop sign. And in the terminal it keeps repeating 24.05.02 23:20:29: root: INFO : Waiting for user query...

StudiAI

Hi, - I placed this abaxio command using Gemmni 1.0 pro: create a simple snake game in Python. - He didn't create the requirements.txt - I put this command: create a simple snake game in Python. with requirements.txt for installation. - This way he created the requirements.txt. It opens the game popup, but closes it immediately. This message is in the Command Prompt: Requirement already satisfied: pygame in c:\users\renav\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 1)) (2.5.2) [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip pygame 2.5.2 (SDL 2.28.3, Python 3.10.10) Hello from the pygame community. https://www.pygame.org/contribute.html Press any key to continue. . . - What can I do to resolve this problem?

Jack Ferret

After following your steps: [INFO] Winget is already installed. Python already installed. Installing Git... Failed to download Git installer. [process exited with code 0 (0x00000000)] You can now close this terminal with Ctrl+D, or press Enter to restart. trying for a second time: [INFO] Winget is already installed. Python already installed. Installing Git... Failed to download Git installer. Windows Defender real time protection and Firewall is turned off. No VPN or other antivirus.

Jack Ferret

I should mention two things: One, even your other installers that I previously used do not seem to work anymore (after a fresh install basically) and two: even though it says failed to download git installer , the installer was successfully added to the folder and it does seem to work.

Jack Ferret

I installed GIT manually like you suggested with python and the install worked. I successfully made a project! Thank you for your help!

Aitrepreneur

Could just be a bug, depends also on which model you were using also

Aitrepreneur

well.....yeah by using a better model lol, gemini is kinda bad

JollyDGaint

Im getting this errors sometime aswell. Using the Ollama Model and google

Tyler Hatch

When I run the launcher I get two terminals, one says it doesn't recognize bun (despite bun being installed). The other one is saying that devika is up and running but I am unable to open the frontend in my browser.

Aitrepreneur

Open a cmd prompt window and type this: powershell -c "irm bun.sh/install.ps1|iex" press enter, wait until everything is installed and retry the launcher again

Zee SHAN

C:\Users\ALIENWARE\Desktop\Devika> ./DEVIKA_AUTO_INSTALLER-ollama_fix.bat [INFO] Winget is already installed. Python already installed. Git already installed. [WARN] Node.js is not installed on this system. [INFO] Installing Node.js using Winget... Found an existing package already installed. Trying to upgrade the installed package... No available upgrade found. No newer package versions are available from the configured sources. [INFO] Node.js installed successfully. Please restart the Installer. Press any key to continue . . . I keep getting this and then nothing happens further

Zee SHAN

I keep gettting Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

Aitrepreneur

as it says, make sure you have enough credit on the openai platform

Chase S

I took a wrong turn somewhere, I keep getting a cannot connect to server error and when I go to my settings its just a black page with the edit button, if you click edit, it swaps to a save button but does not have any fields.

Aitrepreneur

use the V2 launcher and choose the other 192.168 url for the webui

Chase S

The results remain the same

Chase S

originally it was giving me a vite error so I did the bun add vite to get by, then I was able to use the launcher, from there it is as I had said. Thank you for your time with this, I do appreciate it

Aitrepreneur

I suggest you redo the install in another folder and take a note of the errors during install, this might help us determine where the issue is because usually the error you got should have been fixed with the V2 launcher already

Chase S

new folder -> DEVIKA_AUTO_INSTALLER -> 100% -> installation successful -> Launcher_DEVIKA_V2 into folder devika -> launch utilizing V2 -> ready in 766 ms -> Network IP -> Server Connection Error -> Settings UI same issues -> Errors: panic(main thread): Internal assertion failure oh no: Bun has crashed. This indicates a bug in Bun, not your code. -> Bun add vite through CMD at file location -> Relaunch V2 -> same errors -> my dead end

Frank B

The Xtts Finetune is really ropey, Fixed the Cuda Library issue which prevented me from creating the data set, and now training, it just throws another error, (possibly permissions?) It just really doesnt want to work!

Frank B

File "E:\TTS AI\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'E:\\TTS AI\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\TTS AI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "E:\TTS AI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Aitrepreneur

wrong post but you need to delete the finetune model folder and try again

Frank B

Ok trying.

Frank B

Thanks the error is gone, :) however im not sure how long the training should take?, but the training doesnt seem to be coming to an end (in the UI). 15 mins in and still processing.... all i have in the cmd window is a warning, [!] Warning: The text length exceeds the character limit of 250 for language 'en', this might cause truncated audio. no other sign of progress.

Frank B

Im gonna give AlltalkTTS a try instead I think, Xtts Fine tune just hates me, hahah.

JFC

I have the same issue with the settings being blank and not being able to open the model and search engine drop down menu.

Aitrepreneur

@JFC you need to use the second 192.168 url for the webui @Chase send me a dm with your full pc specs, python version, we'll start from scratch

Aitrepreneur

that error is ok, absolutely normal, depending on your GPU, training time can vary of course but shouldn't take longer than 30-40 mins for 6 epochs

Frank B

Thanks buddy, but I think im about done with Xtts, now the regular web ui wont launch complaining it cant find python on my system, its just been one issue after another with this one. for now, for now the simpler alltalk TTS will do for me - much more limited but also its much more noob friendly and easier to understand. and above all else, it just works!

Peter

same here cant connect to server. one of the cmd windows after install returned error: npm ERR! code EBUSY npm ERR! syscall rename npm ERR! path C:\Tools\Devika\devika\ui\node_modules\esbuild npm ERR! dest C:\Tools\Devika\devika\ui\node_modules\.esbuild-aMBxpkpr npm ERR! errno -4082 npm ERR! EBUSY: resource busy or locked, rename 'C:\Tools\Devika\devika\ui\node_modules\esbuild' -> 'C:\Tools\Devika\devika\ui\node_modules\.esbuild-aMBxpkpr' npm ERR! A complete log of this run can be found in: C:\Users\Peter\AppData\Local\npm-cache\_logs\2024-05-13T17_53_56_932Z-debug-0.log (env) C:\Tools\Devika\devika\ui>

Aitrepreneur

can you send screenshots of the entier folder and the 2 command prompts?

Troy Amato

Could this write Roblox games..?

Aitrepreneur

I have no idea what that is but I guess you could try...

Nina Hawkins

hi thanks for sharing this! i've got the installer working (i think) but the both launchers are having issues. 2nd file has this error: The system cannot find the path specified. and 3rd file this one: ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' [notice] A new release of pip is available: 23.2.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip python: can't open file 'A:\\AI AGENT DEVIKA\\main.py': [Errno 2] No such file or directory Press any key to continue . . .

Nina Hawkins

btw i do see the devika folder installed on computer in the same folder and i do see requirenments txt file

Aitrepreneur

What is your python version? You need python 3.10 If you don't have python 3.10, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

John Odum

When trying to use Devika, it saying failed to parse response as JSON and Invalid response from the model. How do I see if there is a newer version to install? Thanks!

John Odum

Thank you for the fast reply. It does work with some other models, but not gpt-4o -- which is what I want to use. Do you know of a fix yet for it?

John Odum

Yes, those work fine. It's just 4o that has a problem. Sorry to bother you with this question because I know this isn't an issue with your great installer. I was just hoping you'd experienced it yourself and knew an answer. Is it possible to issue some sort of pip upgrade command to see if there's been an update? I'm very new at this, so I only know enough to be dangerous. :)

Aitrepreneur

Hmm then in that case in mans that gpt4o is not yet supported by devika, you could try updating it, see if that works, go inside the main folde, click on the folder path type cmd then press enter, this will bring the command prompt window and then type Git pull Then press enter

Steven Sturgill

I dont get a folder after install. my cmd terminal just says "Bun 1.1.12 was installed successfully! The binary is located at C:\Users\scstu\.bun\bin\bun.exe To get started, restart your terminal/editor, then type "bun""

Steven Sturgill

So then I restart and type bun and get the following: PS C:\Users\scstu> bun Bun is a fast JavaScript runtime, package manager, bundler, and test runner. (1.1.12+43f0913c3) Usage: bun [...flags] [...args] Commands: run ./my-script.ts Execute a file with Bun lint Run a package.json script test Run unit tests with Bun x nuxi Execute a package binary (CLI), installing if needed (bunx) repl Start a REPL session with Bun exec Run a shell script directly with Bun install Install dependencies for a package.json (bun i) add elysia Add a dependency to package.json (bun a) remove @remix-run/dev Remove a dependency from package.json (bun rm) update jquery Update outdated dependencies link [] Register or link a local npm package unlink Unregister a local npm package pm Additional package management utilities build ./a.ts ./b.jsx Bundle TypeScript & JavaScript into a single file init Start an empty Bun project from a blank template create @evan/duckdb Create a new project from a template (bun c) upgrade Upgrade to latest version of Bun. --help Print help text for command. Learn more about Bun: https://bun.sh/docs Join our Discord community: https://bun.sh/discord PS C:\Users\scstu> [process exited with code 2 (0x00000002)] You can now close this terminal with Ctrl+D, or press Enter to restart. Windows PowerShell

Aitrepreneur

You don't need to do this, if you don't see a folder that means that there was an issue during install. First make sure you don't have any antivirus/firewall running before launching the installer. Secondly, you can try this installer: https://we.tl/t-dvCZajaE4P Make sure to wait completely until everything finishes installing

CuriousCat

When I load LAUNCHER-DEVIKA-2.bat, when I click on the setting icon I don't see the API key inputs just the edit button. Also it says "can't connect to network", and I dont see a 192.xx IP like suggested in earlier comments.

Member

There is no more `main.py` in the DEVIKA repository. I think that it's now called `devika.py`. Also I came across this error: ``` ImportError: cannot import name 'OpenAI' from 'openai' (C:\Users\vince\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\__init__.py) ``` While `openai` is clearly in the requirements.txt list

Aitrepreneur

main.py is for the projects created by devika, not devika itself. For the error, it could be your python install since you need the python 3.10 not 3.11

Caio Vinicius

Hi guys! Upon opening Devika, the page displays an error message: "Failed to connect to server" The installation of both Bun and Vite was completed successfully. I am using the LAUNCHER-DEVIKA-2.bat to start the application. Is there anything I can do to try and fix this? On the page opened at http://localhost:3000/, it shows that it is connected to the internet, but I cannot create a project or do anything else...

mon

"Failed to connect to server" that's what I'm getting after running your DEVIKA_AUTO_INSTALLER-ollama_fix. please help

Aitrepreneur

have you tried in a different browser? some people had issues with that

Aitrepreneur

what is your GPU? what browser did you use? And have you launched the 192 url instead?

illuculent

Same issue here: Nvidia RTX 4090 24GB, Windows 11, both localhost and 192. The error: (env) C:\AI\Devika\devika>python devika.py 24.06.12 21:39:09: root: INFO : Initializing Devika... 24.06.12 21:39:09: root: INFO : checking configurations... 24.06.12 21:39:09: root: INFO : Initializing Prerequisites Jobs... 24.06.12 21:39:11: root: INFO : Loading sentence-transformer BERT models... C:\AI\Devika\devika\env\lib\site-packages\transformers\models\bert\modeling_bert.py:435: UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:455.) attn_output = torch.nn.functional.scaled_dot_product_attention( 24.06.12 21:39:12: root: INFO : BERT model loaded successfully. 24.06.12 21:39:15: root: WARNING: Ollama not available 24.06.12 21:39:15: root: WARNING: run ollama server to use ollama models otherwise use API models Traceback (most recent call last): File "C:\AI\Devika\devika\devika.py", line 27, in from src.agents import Agents File "C:\AI\Devika\devika\src\agents\__init__.py", line 1, in from .agents import Agents File "C:\AI\Devika\devika\src\agents\agents.py", line 2, in from .researcher import Researcher File "C:\AI\Devika\devika\src\agents\researcher\__init__.py", line 1, in from .researcher import Researcher File "C:\AI\Devika\devika\src\agents\researcher\researcher.py", line 3, in from src.agents.agent_template import AgentTemplate File "C:\AI\Devika\devika\src\agents\agent_template.py", line 12, in class AgentTemplate: File "C:\AI\Devika\devika\src\agents\agent_template.py", line 54, in AgentTemplate def parse_answer(self, response: str) -> dict | bool: TypeError: unsupported operand type(s) for |: 'type' and 'type'

mon

rtx 4090 laptop 16gb vram +64gb ram. chrome and brava browser. tried all the 3 links

illuculent

So I did the manual install and ran into this issue: pip install torch torchvision torchaudio xformers --index-url https://download.pytorch.org/whl/cu118 Looking in indexes: https://download.pytorch.org/whl/cu118 Collecting torch Downloading https://download.pytorch.org/whl/cu118/torch-2.3.1%2Bcu118-cp312-cp312-win_amd64.whl (2672.9 MB) ---------------------------------------- 2.7/2.7 GB 4.8 MB/s eta 0:00:00 Collecting torchvision Downloading https://download.pytorch.org/whl/cu118/torchvision-0.18.1%2Bcu118-cp312-cp312-win_amd64.whl (4.9 MB) ---------------------------------------- 4.9/4.9 MB 22.4 MB/s eta 0:00:00 Collecting torchaudio Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.3.1%2Bcu118-cp312-cp312-win_amd64.whl (4.0 MB) ---------------------------------------- 4.0/4.0 MB 12.7 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement xformers (from versions: none) ERROR: No matching distribution found for xformers

illuculent

--force-reinstall was a ineffective. Cuda 12.1 issue? Other errors like this say that was the issue, but it is fixed now...

Aitrepreneur

it's fixed? do you know what was the issue?

Aitrepreneur

was the installation successful? Any errors during install? What's your python version?

mon

its was working untill i upgrade it with DEVIKA_AUTO_INSTALLER-ollama_fix ive installed 3.1 and 3.9

Aitrepreneur

That's not an upgrade though, if you wanted to update the webui you just had to use the git pull command, now you might have messed up the initial install, so redo the install again in a new folder

Aitrepreneur

Ok yeah so they recently updated some stuff and it doesn't work anymore, so to make it work again you need to Edit the devika.py, on line 29 from CORS(app, resources={r"/*": {"origins": ["https://localhost:3000"]}}) to simply CORS(app) Then save the file and relaunch the launcher again

Aitrepreneur

Ok yeah so they recently updated some stuff and it doesn't work anymore, so to make it work again you need to Edit the devika.py, on line 29 from CORS(app, resources={r"/*": {"origins": ["https://localhost:3000"]}}) to simply CORS(app) Then save the file and relaunch the launcher again

illuculent

Sorry about being so unclear with that last comment. The creators of xformers claimed the xformers requirement situation was fixed now (which is what I found to be the predominant issue when investigating the 'Could not find a version that satisfies the requirement xformers' error on Google), yet it still has not worked for me, in this situation. There appears to be nothing wrong with your script as it merely directs the installation of various required packages, BTW kudos there. It was one of the packages itself that failed. I suspect Cuda from responses but still investigating. I can't tell you how many Github projects failed because I decided to upgrade to the 12.1 Cuda, apparently prematurely, before it was fully embraced by the community. There is a new Cuda version out, 12.5, but I won't touch that for a while. BTW, what version of Cuda are you successfully running Devika with? Perhaps, with that info, I may be able to rule that out as the culprit. TIA

Aitrepreneur

I got the 12.1, however then the issue you might have is not related to cuda but to a bad initiale python install. What python version you got? Because you need the python 3.10 §I recommend the 3.10.11) Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again. ALSO, they recently updated some stuff and the repod doesn't work anymore, so to make it work again you need to Edit the devika.py, on line 29 from CORS(app, resources={r"/*": {"origins": ["https://localhost:3000"]}}) to simply CORS(app) Then save the file and relaunch the launcher again So yeah open source stuff can break all the time sometimes, especially with early projects like Devika

War Criminal Eve AI

Hello, so I used the program to make me something but idk what to with the results. it gives me files but idk what to do with them. Is their a video or something explaining the next step?

CodeCrafters Collective

you figure it out? Can always ask an AI like openai gpt4 and it will explain the files and how to run them

War Criminal Eve AI

no, i couldnt and i didnt think to use another ai, bc i ask the devika ai how to but it just gave me how it made the code

Aitrepreneur

I mean it depends on what you asked devika and what you got...that question is super vague

Jacob Guité

I tried this, and it still did not work at all, I am still getting the same errors as mentioned above

Clay Nelson

I am having the same issue even after turning off firewall and trying again. That link you posted expired it said I couldn't try it.

joh sar

I get the following error and I don't even see an option to add keys: npm error path C:\Windows\System32\devika\ui\node_modules\esbuild npm error command failed npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js npm error C:\Windows\System32\devika\ui\node_modules\esbuild\install.js:133 npm error throw new Error(`Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)}`); npm error ^ npm error npm error Error: Expected "0.20.2" but got "0.21.5" npm error at validateBinaryVersion (C:\Windows\System32\devika\ui\node_modules\esbuild\install.js:133:11) npm error at C:\Windows\System32\devika\ui\node_modules\esbuild\install.js:284:5 npm error npm error Node.js v20.16.0 npm error A complete log of this run can be found in: C:\Users\Chris\AppData\Local\npm-cache\_logs\2024-08-16T17_48_21_373Z-debug-0.log

Aitrepreneur

looks like you ran the installer as admin, run it normally instead

Kenneth

hello. your solution doesn't work. also, are you sure about line 29? line 29 is initially blank in devika.py. So you're telling me to add a new line, not to edit an existing line, correct? Anyway, it doesn't work and still have the message "Falied to connect to server"

Roy Greenhalgh

I tried the install (for the LLM) Since it's what I've been waiting for. Everything went smooth and fast. Took me a while to find where it was installed bit I dropped the Launcher-Devika-2.bat in the Devika folder in System32 and tried to run it. Gives a Script not found error. Does it need to go into a different folder INSIDE the Devika root folder? error: Script not found "dev" (env) C:\Windows\System32\devika\ui>

Aitrepreneur

it's because you ran the installer as admin, run it normally to begin with

John Odum

I installed this right after you posted about it but stopped using it because it had so many bugs. How do I go about updating the project with all the latest fixes?

Aitrepreneur

go inside the folder, click on the folder path, type cmd then press enter and in the command prompt window just type: git pull This should update the project to the latest version

Wraith

I can only assume I am doing something wrong. I ran the install and get a msg that says everything was successful. Please restart the comand interface and type "bun" to begin. I do this and the interface looks nothing like the one in the youtube video.

Aitrepreneur

Probably because the ui was updated since that video came out

Vision

Getting this error on running the launcher file after installation - $ vite dev --host bun: command not found: vite error: script "dev" exited with code 1