InfoSecInnovations / concierge

Repo for Concierge AI dev work
Apache License 2.0
181 stars 31 forks source link

Module Not Found Error #27

Closed inphosec closed 4 months ago

inphosec commented 6 months ago

The Concierge install seemed to go ok. However, when I try to launch it, I get a Module Not Found error.

└─$ python3 launch.py
Traceback (most recent call last): File "/home/kali/concierge/concierge_installer/launcher.py", line 2, in from script_builder.util import get_venv_executable ModuleNotFoundError: No module named 'script_builder'

I installed this on Kali Linux (version 2024.1).

wretiii commented 6 months ago

Rather than running launch.py, try streamlit run Concierge.py

inphosec commented 6 months ago

I get "command not found" running steamlit. Is it something I may need to install as well?

┌──(kali㉿kali)-[~/concierge] └─$ streamlit run Concierge.py streamlit: command not found

wretiii commented 6 months ago

I recommend first ensuring that install.py completes successfully, then running through the documented manual processes if it doesn't. I had to do a mostly manual setup and launch for it to get up and running, and also had to update my CUDA drivers before everything worked as expected.

inphosec commented 6 months ago

Thank you. I'll try your suggestions.

JGifford commented 6 months ago

I get "command not found" running steamlit. Is it something I may need to install as well?

Try entering the python virtual environment before running the streamlit command. The "Usage:manual" section suggests entering the "python virtual environment" first: source ./bin/activate and then start the web UI: streamlit run Concierge.py

sebovzeoueb commented 6 months ago

Hello, we're aware of the missing script_builder module issue, a fix has been implemented in 0.2.0 which is coming soon.

rexroder commented 6 months ago

I have it running on Arch I had to do the manual install: Setup: manual

If install.py did not work, follow these steps to setup your system.

python -m venv . create a python virtual environment in the current directory.

Linux: source ./bin/activate / Windows PowerShell: .\Scripts\Activate.ps1 enter into the virtual environment.

pip install -r requirements.txt install all dependencies.

copy .env.example into a file named .env and set the folder on your computer that will contain the concierge data.

docker compose up -d will load the docker dependencies.

docker compose -f docker-compose-gpu.yml up -d will load the docker dependencies and use the GPU.

sebovzeoueb commented 4 months ago

0.3.0 should fix current installation issues.