Installing the uAgents Framework 🛠️📲
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)
Create a directory for your uAgents related project:
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
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:
Open the virtual environment:
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
brew install automake autoconf libtool
For any other problems, please let us know by creating an issue ↗️ (opens in a new tab).