Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"An error occured while downloading and installing dependencies" #105

Open
Neko-LoverDisc opened this issue Dec 4, 2024 · 4 comments
Open

Comments

@Neko-LoverDisc
Copy link

Title; Couldn't locate log file, I do use a VPN and tried it on and off. Will upload logs if I can find them before any replies, otherwise will wait for instruction Image

@MarkinBrisbane
Copy link

MarkinBrisbane commented Dec 5, 2024

I had this issue too, I tried a whole bunch of random fixes that had apparently worked for others but the easiest solution was to download it from here: https://www.nvidia.com/en-us/ai-on-rtx/chatrtx/ and install it.

note: on my install it paused once with a firewall request which I chose to allow - the install subsequently worked fine and I have moved on to other issues (hah)

@Askovia
Copy link

Askovia commented Dec 21, 2024

I've slowly been doing troubleshooting tricks on this for my computer, and I found that by removing ctype from the requirements file will allow you to install some of the missing dependencies that it missed in the NVidia installer:

cd "C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0"
....\env_nvd_rag\Scripts\pip install -r requirements.txt

One I did this the error evolved into this one:

21:48:36.169 > systemLanguage
21:48:36.260 > Conda setup done!
21:48:36.341 > C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\engine\ChatRTXUIEngine.py
21:48:36.373 > Error while loading C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\engine\ChatRTXUIEngine.py *** PY *** Python Error Call to 'fileImport' failed:

    chatbot = await python(pyfile)

at async initializeChatbot (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\chatbot\chatbot.js:33:19)
at async initializeBridgeCommands (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\index.js:21:18)

... across the bridge ...

at exec_module (:883)
at _call_with_frames_removed (:241)

from backend import Backend, Mode
at (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\engine\ChatRTXUIEngine.py:33)
from ChatRTX.chatrtx import ChatRTX
at (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\engine\backend.py:2)
*** JS *** ModuleNotFoundError: No module named 'ChatRTX'
21:48:36.374 > Error while getting bridge commands TypeError: Cannot read properties of undefined (reading 'ChatBot')
at new Chatbot (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\chatbot\chatbot.js:79:27)
at Chatbot.init (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar.unpacked\node_modules\pythonia\src\pythonia\Bridge.js:48:18)
at initializeChatbot (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\chatbot\chatbot.js:227:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async initializeBridgeCommands (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\index.js:21:18)

@Aurisvida
Copy link

I tried all the things listed here and None of that work i disable all the antivirus firewall whatever . That have to be disabled.I almost disabled something that would require me to put into reseting or something.I did not do that, but be careful

I enter two temporal files strings.dat .nvi none of it worked

And I ran set the directory into the command line and power shelle Nothing worked even install the dependencies from requirements. text file
reboot a lot of crap and nothing

@anujj
Copy link
Collaborator

anujj commented Mar 25, 2025

You can get the latest working build form : https://www.nvidia.com/en-us/ai-on-rtx/chatrtx/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants