Replies: 1 comment
-
I fixed the issue with a clean install |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm having trouble running Auto GPT and was wondering if anyone could help me problem solve?
I'm running on a Mac with M1 max chip, have managed to install Python, GIT and AutoGPT and seemingly have them running. I initially installed Python and GIT using Homebrew (not sure if this makes a difference).
When I run AutoGPT it loads up fine and asks me to name the AI etc. But no matter what I do whether I go auto, use --manual or --help I run into the same error below:
Using Browser: chrome Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/Users/****/Auto-GPT/autogpt/__main__.py", line 5, in <module> autogpt.app.cli.main() File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1666, in invoke rv = super().invoke(ctx) ^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context(), *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/****/Auto-GPT/autogpt/app/cli.py", line 118, in main run_auto_gpt( File "/Users/****/Auto-GPT/autogpt/app/main.py", line 191, in run_auto_gpt agent = Agent( ^^^^^^ File "/Users/****/Auto-GPT/autogpt/agents/agent.py", line 55, in __init__ self.workspace = Workspace(workspace_directory, config.restrict_to_workspace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/****/Auto-GPT/autogpt/workspace/workspace.py", line 25, in __init__ self._root = self._sanitize_path(workspace_root) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/****/Auto-GPT/autogpt/workspace/workspace.py", line 117, in _sanitize_path return Path(relative_path).resolve() ^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/pathlib.py", line 871, in __new__ self = cls._from_parts(args) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/pathlib.py", line 509, in _from_parts drv, root, parts = self._parse_args(args) ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/pathlib.py", line 493, in _parse_args a = os.fspath(a) ^^^^^^^^^^^^ TypeError: expected str, bytes or os.PathLike object, not NoneType
I have no idea what to do with this or what is wrong.
Any help much appreciated; and sorry if this is the wrong place to ask.
Beta Was this translation helpful? Give feedback.
All reactions