IntelligenzaArtificiale / Free-Auto-GPT

Free Auto GPT with NO paids API is a repository that offers a simple version of Auto GPT, an autonomous AI agent capable of performing tasks independently. Unlike other versions, our implementation does not rely on any paid OpenAI API, making it accessible to anyone.
MIT License
2.47k stars 383 forks source link

Cannot start the application #2

Closed StephDam closed 1 year ago

StephDam commented 1 year ago

Hi,

Nothing displayed in the Web browser and there is an endless loop.

2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' ^C Stopping... Exception ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'> Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 1388, in _shutdown lock.acquire() File "/home/stephane/.local/lib/python3.8/site-packages/streamlit/web/bootstrap.py", line 69, in signal_handler server.stop() File "/home/stephane/.local/lib/python3.8/site-packages/streamlit/web/server/server.py", line 401, in stop self._runtime.stop() File "/home/stephane/.local/lib/python3.8/site-packages/streamlit/runtime/runtime.py", line 322, in stop 2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict'' async_objs.eventloop.call_soon_threadsafe(stop_on_eventloop) File "/usr/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe self._check_closed() File "/usr/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed

Best regards, Stéphane

IntelligenzaArtificiale commented 1 year ago

hy, i have update the repository, can you retry now ? If u have the similar error please share more detail

StephDam commented 1 year ago

Hi, Thanks but I am using Ubuntu 20.04. I tried to reinstall the requirements but I have an error while trying to install the faiss Python package :  ERROR: Could not find a version that satisfies the requirement faiss (from versions: none)ERROR: No matching distribution found for faiss I have gone through faiss repository and the latest compiled version available is for Python 3.7, unfortunately I have Python 3.8. I cannot downgrade my Python version as many Ubuntu packages rely on my Python version.  Also I did not find sources for faiss to recompile and install manually for my version... Best regards,Stéphane 

Le samedi 22 avril 2023 à 18:02:15 UTC+2, IntelligenzaArtificiale ***@***.***> a écrit :  

hy, i have update the repository, can you retry now ? If u have the similar error please share more detail

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

danparizher commented 1 year ago

For pip, I think it has to be either faiss-gpu or faiss-cpu

StephDam commented 1 year ago

Yes, seems indeed good now. Thanks !Stéphane Le samedi 22 avril 2023 à 20:12:10 UTC+2, Daniel Parizher @.***> a écrit :

For pip, I think it has to be either faiss-gpu or faiss-cpu

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

yosepito commented 1 year ago

Hi to both: tried right now BabyAGI.py and Camel.py and the Python shell says "There's an error in your program: invalid syntax". I opened the *.py files in Python 2.7.6 shell and press F5, but it yields this error (after installing requirements.txt in the powershell command ). When installing with pip, it yielded errors in "collecting retry (line 11)", saying that ERROR: ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5 ERROR: could not fin a version that satisfies the requirement faiss (from versions: none) ERROR No matching distribution found for faiss

I then installed faiss-cpu and faiss-gpu, and installed streamlit the prompt from streamlit run Camel.py was Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Python311\Scripts\streamlit.exe__main.py", line 4, in File "C:\Python311\Lib\site-packages\streamlit\init__.py", line 55, in from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator File "C:\Python311\Lib\site-packages\streamlit\delta_generator.py", line 42, in from streamlit.elements.arrow import ArrowMixin File "C:\Python311\Lib\site-packages\streamlit\elements\arrow.py", line 31, in from pandas.io.formats.style import Styler File "C:\Python311\Lib\site-packages\pandas\io\formats\style.py", line 56, in jinja2 = import_optional_dependency("jinja2", extra="DataFrame.style requires jinja2.") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\pandas\compat_optional.py", line 171, in import_optional_dependency raise ImportError(msg) ImportError: Pandas requires version '3.0.0' or newer of 'jinja2' (version '2.11.3' currently installed)

what I did wrong? thanks!

IntelligenzaArtificiale commented 1 year ago

I have fixed the repository, please try now to redowload