anarchy-ai / LLM-VM

irresponsible innovation. Try now at https://chat.dev/
https://anarchy.ai/
MIT License
465 stars 150 forks source link

Pyenv error in Debain 12 #425

Open anarchopossum opened 6 months ago

anarchopossum commented 6 months ago

Describe the bug setup.sh gives Error: pyenv not installed even though there is an install on the machine.

❯ pyenv
pyenv 2.3.26
Usage: pyenv <command> [<args>]

Some useful pyenv commands are:
...

To Reproduce Steps to reproduce the behavior:

  1. Run a fresh install of Debian 12
  2. Clone LLM-VM repo
  3. Run ./setup.sh within repo folder
  4. Go through script
  5. after homebrew installs you will get an error:
    pyenv found, upgrading to latest version...
    Already up-to-date.
    Error: pyenv not installed
  6. process ends.

Expected behavior Install completes

Desktop

Terminal Output anarch_install_output.txt

Jobhdez commented 6 months ago

Try this:

> git clone https://github.com/anarchy-ai/LLM-VM.git
> cd LLM-VM
> python -m venv <name>
> source <name>/bin/activate
> python -m pip install -e ."[dev]"
anarchopossum commented 6 months ago

Try this:

> git clone https://github.com/anarchy-ai/LLM-VM.git
> cd LLM-VM
> python -m venv <name>
> source <name>/bin/activate
> python -m pip install -e ."[dev]"

Right that works, although using the setup script does not work. as in ./setup.sh.