Skip to content
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

[OSX 13.2.1] No module named 'requests' #69

Closed
EloiGattet opened this issue Apr 3, 2023 · 8 comments
Closed

[OSX 13.2.1] No module named 'requests' #69

EloiGattet opened this issue Apr 3, 2023 · 8 comments

Comments

@EloiGattet
Copy link

Hi!
I'm on a Apple silicon Mac, runny 13.2.1.
Tried the proposed installation process:
git clone https://github.com/Torantulino/Auto-GPT.git $ cd 'Auto-GPT' pip3 install -r requirements.txt mv .env.template .env nano .env -> Filled the API keys and saved

But when I try to run
➜ Auto-GPT git:(master) ✗ python3 scripts/main.py
I get :

Traceback (most recent call last):
File "/Users/eloi/bin/Auto-GPT/scripts/main.py", line 3, in
import commands as cmd
File "/Users/eloi/bin/Auto-GPT/scripts/commands.py", line 1, in
import browse
File "/Users/eloi/bin/Auto-GPT/scripts/browse.py", line 1, in
import requests
ModuleNotFoundError: No module named 'requests'

Any help please?
Thanks!

@EloiGattet
Copy link
Author

My bad, it my pip install needed an update.
python3.11 -m pip install --upgrade pip
and
pip3 install -r requirements.txt
solved it

@taojeee
Copy link

taojeee commented Apr 5, 2023

Same problem on Windows 11, upgrading pip and reinstalling requirements doesn't solve it for me.
Thankful if someone can help.

@jalyper
Copy link

jalyper commented Apr 5, 2023

same problem, proposed solution didn't work for me

@tamasbelinszky
Copy link

I also had this issue on my machine.

Was able to run it in docker.

FROM python:3.11

WORKDIR /app
COPY scripts/ /app
COPY requirements.txt /app
COPY .env /app

RUN pip install -r requirements.txt

CMD ["python", "main.py"]
  1. docker build -t myapp .

  2. docker run -it myapp

@taojeee
Copy link

taojeee commented Apr 6, 2023

Took me a while to get docker to run, but now it works, thanks!

@darrentmorgan
Copy link

darrentmorgan commented Apr 7, 2023

@TimarTimar

This helped alot, thankyou

@0oShaKao0
Copy link

When I try to run "python -m autogpt"
I get:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/bruceyu/Auto-GPT/autogpt/main.py", line 3, in
from colorama import Fore
ModuleNotFoundError: No module named 'colorama'

Any help please?
Thanks!

@isky123
Copy link

isky123 commented Apr 18, 2023

same question

SquareandCompass pushed a commit to SquareandCompass/Auto-GPT that referenced this issue Oct 21, 2023
* Fixed formating issue in the README

* Fixed the formating issue in the README

* Updated formatting as per review comments

* Refactor README.md to highlight use cases and features

* Updated README as per feedback

* Updated README as per feedback

---------

Co-authored-by: Al-Iqram Elahee <hridoy@Al-Iqrams-MacBook-Pro.local>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants