[Tutor] Fwd: Can’t find the .env file

Alan Gauld learn2program at gmail.com
Wed May 17 19:45:54 EDT 2023


Forwarding to list.
Please use reply-All or reply-List when responding to tutor poss.

Also note that the list is text only so attachments are stripped
by the server for security reasons. I've pasted the content for the list
to read....

Having read the instructions in step 5 it seems you should use Textedit
(or any other editor) to edit the .env file.




##############################################

Cloning into 'Auto-GPT*
remote: Enumerating objects: 12414, done.
remote: Counting objects: 100% (306/306), done. remote: Compressing
objects: 100% (189/189), done.
remote: Total 12414 (delta 146), reused 246 (delta 114), pack-reused 12108
Receiving objects: 100% (12414/12414), 7.03 MiB 5.77 MiB/s, done.
Resolving deltas: 100% (8295/8295), done.
(base)
" cd Auto-GPT
(base)
•Auto-GPT
Ipip install -r requirements. txt
Collecting en-core-web-sm@
https://github.com/explosion/spacy-models/releases/download/en
core_web_sm-3.5.0/en core web sm-3.5.0-py3-none-any.whl
Downloading
https://github.com/explosion/spacy-models/releases/download/en core web
sm-3.5.0/en core web sm-3.5.0-py3-none-any.whl (12.8 MB)
12.8/12.8 MB 7.0 MB/s eta 0:00:00
Requirement already satisfied: beautifulsoup4>m4.12.2 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 1)) (4.12.2)
Requirement already satisfied: colorama0.4.6 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 2)) (0.4.6)
Requirement already satisfied: distrow1.8.0 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 3)) (1.8.0)
Requirement already satisfied: openais0.27.2 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 4)) (0.27.2)
Requirement already satisfied: playsound =1.2.2 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 5)) (1.2.2)
Requirement already satisfied: python-dotenvam1.0.0 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 6)) (1.0.0)
Requirement already satisfied: pyyamlas6.0 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 7)) (6.0)
Requirement already satisfied: readability-Ixmlwm0.8.1 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 8)) (0.8.1)
Requirement already satisfied: requests in
/opt/anaconda3/lib/python3.9/site-packages from -r requirements.txt
(line 9)) (2.30.0)
Requirement already satisfied: tiktoken-0.3.3 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 10)) (0.3.3)
Requirement already satisfied: gTTS™2.3.1 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 11)) (2.3.1)
Requirement already satisfied: docker in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 12)) (6.1.2)
Requirement already satisfied: duckduckgo-search> 2.9.5 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 13)) (2.9.5)
Requirement already satisfied: google-api-python-client in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 14)) (2.86.0)
Requirement already satisfied: pinecone-client==2.2.1 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 15)) (2.2.1)
Requirement already satisfied: redis in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 16)) (4.5.5)
Requirement already satisfied: orjson-3.8.10 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 17)) (3.8.10)
Requirement already satisfied: Pillow in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 18)) (9.2.0)
Requirement already satisfied: selenium==4.1.4 in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 19)) (4.1.4)
Requirement already satisfied: webdriver-manager in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 20)) (3.8.6)
Requirement already satisfied: jsonschema in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 21)) (4.16.0)
Requirement already satisfied: tweepy in
/opt/anaconda3/lib/python3.9/site-packages (from -r requirements.txt
(line 22)) (4.14.0)
Requirement already satisfied: distlib<1,> 0.3.6 in
/opt/anaconda3/lib/python3.9/site-packages (from virtualenv>
20.10.0-›pre-commit->-r requirements.txt (line 32)
) (0.3.6)
Requirement already satisfied: filelock<4,>=3.11 in
/opt/anaconda3/lib/python3.9/site-packages (from virtualenv>
20.10.0->pre-commit->-r requirements.txt (line 32)
) (3.12.0)
Requirement already satisfied: aiosignal>=1.1.2 in
/opt/anaconda3/lib/python3.9/site-packages (from
aichttp->openai==0.27.2->-r requirements.txt (line 4)) (1.3.1)
Requirement already satisfied: multidict<7.0,> 4.5 in
/opt/anaconda3/lib/python3.9/site-packages (from
aiohttp->openai0.27.2->-r requirements.txt (line 4)) (6.0.
4)
Requirement already satisfied: frozenlist>mi.1.1 in
/opt/anaconda3/lib/python3.9/site-packages (from
aiohttp->openai0.27.2->-r requirements.txt (line 4)) (1.3.3)
Requirement already satisfied: cffi>1.12 in
/opt/anaconda3/lib/python3.9/site-packages (from cryptography>
1.3.4-›urllib3> 1.21.1->pinecone-client 2.2.1->-r requ irements.txt
(line 15)) (1.15.1)
Requirement already satisfied: h11<0.15,> 0.13 in
/opt/anaconda3/lib/python3.9/site-packages (from httpcore<0.18.0,>
0.15.0->httpx<0.25.0,>=0.15.4->openapi-python-client==0.13.4->-r
requirements.txt (line 42)) (0.14.0)
Requirement already satisfied: anyio<5.0,> 3.0 in
/opt/anaconda3/lib/python3.9/site-packages (from httpcore<0.18.0,>
0.15.0->httpx<0.25.0,>=0.15.4->openapi-python-client 0.13.4->-r
requirements.txt (line 42)) (3.5.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in
/opt/anaconda3/lib/python3.9/site-packages (from
pyasnI-modules>=0.2.1->google-auth<3.0.0dev,>=1.19.0->googl
e-api-python-client->-r requirements.txt (line 14)) (0.4.8)
Requirement already satisfied: pycparser in
/opt/anaconda3/lib/python3.9/site-packages (from
cffi>=1.12->cryptography>=1.3.4-›urllib3>=1.21.1->pinecone-client==2.2
•1->-r requirements.txt (line 15)) (2.21)
Installing collected packages: mypy-extensions, my
Attempting uninstall: mypy-extensions
Found existing installation: mypy-extensions 0.4.3
Uninstalling mypy-extensions-0.4.3:
Successfully uninstalled mypy-extensions-0.4.3
Successfully installed mpy-1.3.0 mypy-extensions-1.0.0 (base)
FAuto-GPT
Pcp . env. template env
(base)
_: Auto-GPT
Ils
.flake8
BULLETIN.md
•git
CODE_OF_CONDUCT.md
•coveragerc .devcontainer .dockerignore
•env
•env. template
•envrc
.gitattributes
CONTRIBUTING. md
.github
Dockerfile
.gitignore
LICENSE
.isort.cfg
README. md
.pre-commit-config. yaml autogpt .sourcery.yaml
azure.yaml. template
benchmark codecov. yml data data ingestion.py docker-compose. ym1 docs
main.py mkdocs. ym1
mypy.ini plugin.png plugins prompt settings.yaml pyproject. toml
requirements.txt run.bat run. sh
run_continuous.bat run_continuous.sh scripts tests tests.py




-------- Forwarded Message --------
Subject: 	Re: [Tutor] Can’t find the .env file
To: 	Alan Gauld <alan.gauld at yahoo.co.uk>
Content-Type: 	multipart/mixed; boundary="000000000000215ce205fbebbc79"
Content-Length: 	1614562



Yes, I believe that is what it's called, it is an experimental
autonomous AI assistant using GPT-4 (GitHub -
Significant-Gravitas/Auto-GPT: An experimental open-source attempt to
make GPT-4 fully autonomous.
<https://github.com/Significant-Gravitas/Auto-GPT>) and I'm trying to
install it using pip as in the instructions attached below. But I keep
stuck at finding the .env file where I'm supposed to enter my OpenAI API
key.

I kind of highlighted where the problem is and that the file I'm looking
for is indeed in the folder. I'm not an expert in Python so I appreciate
your patience. I am using a macOS version 10.15.7 and Python 3.

El mié, 17 may 2023 a las 14:45, Alan Gauld via Tutor (<tutor at python.org
<mailto:tutor at python.org>>) escribió:

    On 17/05/2023 18:45, Abelardo Salazar Orozco wrote:

    > I am trying to install Auto-GPT through Python, but I'm stocked in
    step 5
    > since I can't find . files.

    You need to give us a lot more information for us to help.

    First, what python version and OS are you using?

    Where did you find Auto-GPT (are you sure that's the right
    spelling, it's kind of unusual)

    How are you trying to install it? From an app store? Building
    from source? Using an OS package manager? Using git or pip?

    Exactly what command do you type?

    Exactly what error do you get(cut n paste please)?

    What are . files?
    Which . files specifically are you looking for?
    Where have you looked?

    Most of us will not have heard of your package let alone
    installed it. We almost certainly are not using the same
    computer setup as you. The more detail you can provide
    the more we are likely able to help.


    --     Alan G
    Author of the Learn to Program web site
    http://www.alan-g.me.uk/ <http://www.alan-g.me.uk/>
    http://www.amazon.com/author/alan_gauld
    <http://www.amazon.com/author/alan_gauld>
    Follow my photo-blog on Flickr at:
    http://www.flickr.com/photos/alangauldphotos
    <http://www.flickr.com/photos/alangauldphotos>



    _______________________________________________
    Tutor maillist  -  Tutor at python.org <mailto:Tutor at python.org>
    To unsubscribe or change subscription options:
    https://mail.python.org/mailman/listinfo/tutor
    <https://mail.python.org/mailman/listinfo/tutor>


More information about the Tutor mailing list