AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Error Installing on Raspberry Pi OS

Open FuzzTalkAI opened this issue 2 years ago • 6 comments

⚠️ Search for existing issues first ⚠️

  • [X] I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Linux

Which version of Auto-GPT are you using?

Latest Release

GPT-3 or GPT-4?

GPT-3.5

Steps to reproduce 🕹

I'm trying to install on the Raspberry Pi OS and everything seems to install correctly until I get to the prompt of ./run.sh it gives me this error

How do I fix this?

Current behavior 😯

Just throws the error

Expected behavior 🤔

It should run Auto-GPT

Your prompt 📝

# Paste your prompt here

Warning: The file 'auto-gpt.json' does not exist. Local memory would not be saved to a file. Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/fuzzy427/Auto-GPT/autogpt/main.py", line 5, in autogpt.cli.main() File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1130, in call return self.main(*args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1635, in invoke rv = super().invoke(ctx) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) File "/home/fuzzy427/Auto-GPT/autogpt/cli.py", line 77, in main from autogpt.agent.agent import Agent File "/home/fuzzy427/Auto-GPT/autogpt/agent/init.py", line 1, in from autogpt.agent.agent import Agent File "/home/fuzzy427/Auto-GPT/autogpt/agent/agent.py", line 3, in from autogpt.app import execute_command, get_command File "/home/fuzzy427/Auto-GPT/autogpt/app.py", line 27, in from autogpt.commands.web_selenium import browse_website File "/home/fuzzy427/Auto-GPT/autogpt/commands/web_selenium.py", line 20, in import autogpt.processing.text as summary File "/home/fuzzy427/Auto-GPT/autogpt/processing/text.py", line 4, in import spacy File "/home/fuzzy427/.local/lib/python3.9/site-packages/spacy/init.py", line 6, in from .errors import setup_default_warnings File "/home/fuzzy427/.local/lib/python3.9/site-packages/spacy/errors.py", line 2, in from .compat import Literal File "/home/fuzzy427/.local/lib/python3.9/site-packages/spacy/compat.py", line 38, in from thinc.api import Optimizer # noqa: F401 File "/usr/local/lib/python3.9/dist-packages/thinc/api.py", line 2, in from .initializers import normal_init, uniform_init, glorot_uniform_init, zero_init File "/usr/local/lib/python3.9/dist-packages/thinc/initializers.py", line 4, in from .backends import Ops File "/usr/local/lib/python3.9/dist-packages/thinc/backends/init.py", line 7, in from .ops import Ops File "/usr/local/lib/python3.9/dist-packages/thinc/backends/ops.py", line 16, in from .cblas import CBlas File "thinc/backends/cblas.pyx", line 1, in init thinc.backends.cblas File "/usr/local/lib/python3.9/dist-packages/blis/init.py", line 3, in from .cy import init ImportError: /usr/local/lib/python3.9/dist-packages/blis/cy.cpython-39-arm-linux-gnueabihf.so: undefined symbol: __atomic_load_8

Your Logs 📒

<insert your logs here>

FuzzTalkAI avatar Apr 22 '23 05:04 FuzzTalkAI

Hi,

It does work on a Raspberry pi. I am running mine on a P400. It took some time but I used GPT4 to fix all the errors.

druytssa avatar Apr 22 '23 06:04 druytssa

Hi,

It does work on a Raspberry pi. I am running mine on a P400. It took some time but I used GPT4 to fix all the errors.

Can you give me a summary of the changes you had to make to get it working?

ntindle avatar Apr 22 '23 08:04 ntindle

Hi,

Not really, I know there were a lot of python packages missing like for instance beautifulsoup that is used for web scraping. After running source /home/jarvis/Auto-GPT/jarvis_ai/bin/activate and then python -m autogpt it will start generating errors. I took those errors and copied it into GPT-Plus (GPT-4) that then made the necessary suggestions. It took about 4 hours to get it working.

You also need to run in sudo when running python -m autogpt or it does not work.

Kind regards,

On Sat, Apr 22, 2023 at 10:32 AM Nicholas Tindle @.***> wrote:

Hi,

It does work on a Raspberry pi. I am running mine on a P400. It took some time but I used GPT4 to fix all the errors.

Can you give me a summary of the changes you had to make to get it working?

— Reply to this email directly, view it on GitHub https://github.com/Significant-Gravitas/Auto-GPT/issues/2874#issuecomment-1518561203, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZRGYFCB6PDGFYYUN3WX23XCOJTNANCNFSM6AAAAAAXHS6KIA . You are receiving this because you commented.Message ID: @.***>

druytssa avatar Apr 22 '23 10:04 druytssa

Definitely interested in hearing more on what you did to get it fully working. Right now I just run through the setup given and this is where I get hit with an error that I'm not sure how to fix.

FuzzTalkAI avatar Apr 23 '23 01:04 FuzzTalkAI

The error missing auto-gpt.json is a known issue you basically create the file with blank content and that should fix the issue if you search for auto-gpt.json you should be able to find more on where to place the file

Aaronminer1 avatar Apr 23 '23 05:04 Aaronminer1

Do you have any documentation to share? i'm trying to install in my rPI4 but I'm getting stuck with dependencies like tiktoken==0.3.3

leeboy1984 avatar May 02 '23 06:05 leeboy1984

Hello, The main issue I see is with Spacy and Blis versions. I didn't solve it yet and I'm trying for few days now with all suggestions from ChatGPT (3.5 & 4) I guess I'm missing the exact versions that can work on Raspberry Pi 4 - 6.1.21-v8 64 bit Any suggestions will be helpful

raphael-2023 avatar Jul 18 '23 16:07 raphael-2023

We're not planning on supporting raspberry pi at this moment as a target

ntindle avatar Jul 22 '23 20:07 ntindle