Installing the uAgents Framework π οΈπ²
System Requirements
Fetch.ai's uagents βοΈ (opens in a new tab) package is a Python library running on Ubuntu/Debian, MacOS, and Windows systems.
On your computer, you may need to install:
- Python βοΈ (opens in a new tab) 3.8, 3.9 or 3.10.
- PIP βοΈ (opens in a new tab) (Python Installs Packages).
- Poetry βοΈ (opens in a new tab) for virtual environments (optional).
- uAgents framework βοΈ (opens in a new tab)
Install with Pip
-
Create a directory for your uAgents related project:
mkdir directory_name
-
Within the directory, create and open a virtual environment using Poetry:
poetry init -n && poetry shell
-
Install Fetch.ai uAgents Framework:
pip install uagents
-
Check if installation was successful:
pip show uagents
Install from source code
-
Download the latest released version from Github and navigate to the uAgents directory:
git clone https://github.com/fetchai/uAgents.git cd uAgents
-
Install the required dependencies:
poetry install
-
Open the virtual environment:
poetry shell
Troubleshooting
It is possible that you may face issues during the installation process. Here, you can find common problems and their solutions:
Problem (MacOS/Python 3.11): Installing coincurve (17.0.0): Failed
Solution: install the latest versions of automake
, autoconf
, and libtool
: brew install automake autoconf libtool
For any other problems, please let us know by creating an issue βοΈ (opens in a new tab).