-
Notifications
You must be signed in to change notification settings - Fork 44.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error with M1 mac #3455
Comments
Please create an issue in the |
None of our testers can reproduce this issue with |
I am getting this error too. Im on a M1 macbook ! |
I made the change to orjson and this did not fix the issue. I still get the error (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))) (base) sri.kanajan@SCMJNJ1CPQJH9 Auto-GPT % pip freeze | grep orjson |
@Pwuts Had this issue in the morning. downgraded |
@filip-michalsky ok so 3.8.11 is broken. Does version 3.8.10 work for you? |
As for me, version 3.8.10 works for me. I just need to change the orjson version to 3.8.10 to fix the bug |
UPDATE: HOW TO REPRODUCE git clone -b stable https://github.com/Significant-Gravitas/Auto-GPT.git |
I am having the same issue. Downgrading orson to orjson==3.8.10 fixed the issue. |
Which Operating System are you using?
MacOS
Which version of Auto-GPT are you using?
Stable (branch)
GPT-3 or GPT-4?
GPT-4
Steps to reproduce 🕹
git clone -b stable https://github.com/Significant-Gravitas/Auto-GPT.git
cd Auto-GPT
./run.sh
How to solve:
change requirements.txt: orjson->orjson==3.8.10
I don't know why, but it solved my problem
Current behavior 😯
error before change requirements.txt: orjson->orjson==3.8.10 are listed below
ImportError: dlopen(/Users/zhouyutong/anaconda3/envs/autogpt2/lib/python3.10/site-packages/orjson/orjson.cpython-310-darwin.so, 0x0002): tried: '/Users/zhouyutong/anaconda3/envs/autogpt2/lib/python3.10/site-packages/orjson/orjson.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/zhouyutong/anaconda3/envs/autogpt2/lib/python3.10/site-packages/orjson/orjson.cpython-310-darwin.so' (no such file), '/Users/zhouyutong/anaconda3/envs/autogpt2/lib/python3.10/site-packages/orjson/orjson.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
Press any key to continue...
Expected behavior 🤔
No response
Your prompt 📝
# Paste your prompt here
Your Logs 📒
The text was updated successfully, but these errors were encountered: