You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Check if installation was successful: `pip show uagents`
26
-
27
-
<Callouttype="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 <PackageVersionpackageName="uagents"packageType="pypi" />.
33
-
</Callout>
22
+
3. Check if installation was successful: `pip show uagents`
34
23
35
24
## Install from source code
36
25
@@ -170,54 +159,4 @@ Let's now ensure the **global version of Python** you are working with is not th
170
159
```
171
160
pyenv global 3.10 # this sets the global interpreter
172
161
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:
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
-
<Callouttype="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.
0 commit comments