Comments (20)
Seconded on Windows:
from UserDict import DictMixin
ModuleNotFoundError: No module named 'UserDict'
from auto-gpt.
+1
from auto-gpt.
Fixed in #68
from auto-gpt.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/path/to/main.py", line 3, in <module>
import commands as cmd
File "/path/to/commands.py", line 8, in <module>
import ai_functions as ai
File "/path/to/ai_functions.py", line 5, in <module>
from json_parser import fix_and_parse_json
File "/path/to/json_parser.py", line 1, in <module>
import dirtyjson
File "/path/to/anaconda3/envs/auto-gpt/lib/python3.11/site-packages/dirtyjson/init.py", line 33, in <module>
from .loader import DirtyJSONLoader
File "/path/to/anaconda3/envs/auto-gpt/lib/python3.11/site-packages/dirtyjson/loader.py", line 8, in <module>
from dirtyjson.attributed_containers import AttributedDict, AttributedList
File "/path/to/anaconda3/envs/auto-gpt/lib/python3.11/site-packages/dirtyjson/attributed_containers.py", line 11, in <module>
from UserDict import DictMixin
ModuleNotFoundError: No module named ‘UserDict'
from auto-gpt.
I didn't experience this when downgrading from Python 3.11 to Python 3.9
from auto-gpt.
+1
from auto-gpt.
+1
from auto-gpt.
+1
from auto-gpt.
Got similar error. Someone help
from auto-gpt.
I fixed this error by find and replacing
from collections import MutableMapping
to
from collections.abc import MutableMapping
from auto-gpt.
Run the error on chatgpt-4 itll give u answers to fix
from auto-gpt.
Temp fix - #67
from auto-gpt.
Is there a simpler fix than that?
Anyone got this working, I'm not able to reproduce...
from auto-gpt.
I have the same issue in windows with venv python 3.10.9
edit:
I got this warning in pip install
DEPRECATION: dirtyjson is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for dirtyjson ... done
from auto-gpt.
Is there a simpler fix than that? Anyone got this working, I'm not able to reproduce...
I tried monkey patching but it doesn't seem to import correctly
from auto-gpt.
Thanks @sparkcomputers this fixed it for me.
I fixed this error by find and replacing
from collections import MutableMapping
tofrom collections.abc import MutableMapping
from auto-gpt.
@theopencity Where are you finding that import?
from auto-gpt.
@theopencity Where are you finding that import?
I think they are referring to changing their locally stored package site-packages/dirtyjson directly.
from auto-gpt.
that's right, it is in my venv ...\Auto-GPT\venv\lib\python3.8\site-packages\dirtyjson\attributed_containers.py
from collections import MutableMapping as DictMixin
from auto-gpt.
Fixed in #68
Would JSON still requires some form of preventive preprocessing?
from auto-gpt.
Related Issues (20)
- ./run agent start autogpt error HOT 1
- Security issue - Docker-compose persisted volumes HOT 1
- Tried to install AutoGPT since 5 days HOT 2
- agent have started ,but the website is empty,and in the gitpod env, it can not be installed and can not HOT 1
- Use Azure OpenAI with AutoGPT latest version, return 'Invalid OpenAI API key' error. Where Can I set Azure key? HOT 7
- should upgrade dependency for multidict when python3.12 HOT 2
- Remove autogpts folder HOT 1
- Cannot create new agent HOT 5
- How to solve this problem
- how to remove login accesse page
- Add support for Image, Video, and Audio input into Forge and AutoGPT
- The discord link is expired. HOT 1
- ./run setup quits at Setup initiated... HOT 5
- support for gpt-4o? HOT 2
- after login agent and create a task but dosen't work
- cant setup HOT 2
- GPT4O HOT 1
- Auto GPT not connect to AzureOPEN AI
- Error when trying to run AutoGPT once pointed at Local AI instance on localhost
- getting error while running HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-gpt.