Skip to content

Commit 947d536

Browse files
Joshua CroftJoshua Croft
Joshua Croft
authored and
Joshua Croft
committed
removing poetry in most places
1 parent 1a4021d commit 947d536

File tree

4 files changed

+6
-82
lines changed

4 files changed

+6
-82
lines changed

pages/guides/agents/getting-started/getting-uagent-address.mdx

-2
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ The overall script should look as follows:
300300

301301
### Run the script
302302

303-
If you are using a Poetry virtual environment, make sure that you have activated it.
304-
305303
On your terminal, run the script: `python my_agent.py`
306304

307305
The output should be as follows:

pages/guides/agents/getting-started/installing-uagent.mdx

+3-64
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,15 @@ On your computer, you may need to install:
1111

1212
- [Python ↗️](https://www.python.org/downloads/) 3.8+.
1313
- [PIP ↗️](https://pypi.org/project/pip/) - the Python package manager.
14-
- [Poetry ↗️](https://python-poetry.org/) for virtual environments (optional).
1514
- [uAgents library ↗️](https://pypi.org/project/uagents/)
1615

1716
## Install with Pip
1817

1918
1. Create a directory for your agents project: `mkdir directory_name`
2019

21-
2. Within the directory, create and open a virtual environment using Poetry: `poetry init -n && poetry shell`
20+
2. Install Fetch.ai `uagents` library: `pip install uagents`
2221

23-
3. Install Fetch.ai `uagents` library: `pip install uagents`
24-
25-
4. Check if installation was successful: `pip show uagents`
26-
27-
<Callout type="info" emoji="ℹ️">
28-
If you want to install a specific version of the `uagents` library (e.g., 0.12.0), you can do so by running the following:
29-
30-
`pip install uagents==0.12.0`
31-
32-
Current version of the uAgents package is <PackageVersion packageName="uagents" packageType="pypi" />.
33-
</Callout>
22+
3. Check if installation was successful: `pip show uagents`
3423

3524
## Install from source code
3625

@@ -170,54 +159,4 @@ Let's now ensure the **global version of Python** you are working with is not th
170159
```
171160
pyenv global 3.10 # this sets the global interpreter
172161
pyenv versions # this verifies if it is set up correctly
173-
```
174-
175-
#### Installing Poetry
176-
177-
You now need to install **Poetry**. Poetry is used for managing Python project dependencies, handling virtual environments, packaging, and publishing Python libraries or applications.
178-
179-
You can install Poetry by running the following command:
180-
181-
```
182-
curl -sSL https://install.python-poetry.org | python3 -
183-
```
184-
185-
<Callout type="info" emoji="ℹ️">
186-
If you would like to learn more about Poetry, visit the [website ↗️](https://python-poetry.org/docs/#installation) for further information.
187-
</Callout>
188-
189-
#### Initialize your project with Poetry
190-
191-
You now have all necessary tools installed. You are ready to initialize your project! Let's create a working directory and initialize Poetry 🎉.
192-
193-
First, you need to create a working directory for your project using `mkdir` command. Then, you will need to change directory to this one, using `cd` command:
194-
195-
```
196-
mkdir development/agent-demo
197-
cd development/agent-demo
198-
```
199-
200-
You can ensure you are in the correct directory by checking your current path:
201-
202-
```
203-
pwd
204-
# Example output: /Users/Jessica/Documents
205-
```
206-
207-
If you are happy with the install location for the project, go ahead and **initialize Poetry**:
208-
209-
```
210-
poetry init
211-
```
212-
213-
<Callout type="info" emoji="ℹ️">
214-
Follow the setup wizard to provide details including project name, version, author, license, and select dependencies (e.g., `uagents`).
215-
</Callout>
216-
217-
Once you complete the initialization, run:
218-
219-
```
220-
poetry install
221-
```
222-
223-
This command will install the dependencies specified in the **pyproject.toml** file.
162+
```

pages/guides/agents/intermediate/search-agent.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Create a new folder; call it `fetchai-search-agent`:
2323
Then, install the required libraries:
2424

2525
```
26-
poetry install uagents fetchai openai
26+
pip install uagents fetchai openai
2727
```
2828

2929
## Search Function

pages/guides/agents/quickstart.mdx

+2-15
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Let's get started!
1414

1515
- **Python 3.8+**: it is a popular programming language.
1616
- **PIP**: it is Python package manager for installing libraries.
17-
- **Poetry (optional)**: this helps managing virtual environments and dependencies.
1817
- **Operating System**: _Windows_, _MacOS_ or _Ubuntu_.
1918

2019
### Installation steps
@@ -26,22 +25,10 @@ Let's get started!
2625
cd directory_name
2726
```
2827

29-
2. Initialize and activate virtual environment. Use **Poetry** to do this (optional but recommended):
28+
2. Proceed and install the **uAgents Framework** package:
3029

3130
```py copy
32-
poetry init -n && poetry shell
33-
```
34-
35-
3. Proceed and install the **uAgents Framework** package:
36-
37-
```py copy
38-
poetry add uagents
39-
```
40-
41-
4. Check if the installation was successful:
42-
43-
```py copy
44-
poetry show uagents
31+
pip install uagents
4532
```
4633

4734
### Troubleshooting

0 commit comments

Comments
 (0)