AI Agents
Installing the uAgents Framework ๐Ÿ› ๏ธ๐Ÿ“ฒ
Bookmark

Installing the uAgents Framework ๐Ÿ› ๏ธ๐Ÿ“ฒ

System Requirements

Fetch.ai's uagents โ†—๏ธ (opens in a new tab) Frameworks package is a Python library running on Ubuntu/Debian, MacOS, and Windows systems.

On your computer, you may need to install:

Install with Pip

  1. Create a directory for your agents related project: mkdir directory_name

  2. Within the directory, create and open a virtual environment using Poetry: poetry init -n && poetry shell

  3. Install Fetch.ai uAgents Framework: pip install uagents

  4. Check if installation was successful: pip show uagents

Install from source code

  1. Download the latest released version from Github and navigate to the agents directory:

    git clone https://github.com/fetchai/uAgents.git
    cd uAgents
  2. Install the required dependencies:

    poetry install
  3. 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).

Simplified Installation for Windows users

Installing the uagents framework on a Windows machine is a straightforward process. The uagents framework is a Python package, so you'll need to have Python installed on your system before you can use it.

If you don't already have Python installed on your Windows machine, visit the official Python website at Python โ†—๏ธ (opens in a new tab) and download the latest stable version of Python for Windows.

Run the downloaded installer executable file (e.g., python-3.x.x.exe).

During installation, make sure to check the box that says "Add Python X.X to PATH." This will automatically add Python to your system's PATH variable, making it easier to use from the command line.

Install uagents library using pip

Once you have Python installed and added to your PATH, follow these steps to install the uagents framework using pip:

  1. To install using PIP open your terminal. To ensure that PIP (Python's package manager) is up-to-date, run the following command:

    python -m pip install --upgrade pip
  2. Now, you can install the uagents framework by running the following command:

    pip install uagents

PIP will download and install the uagents package and its dependencies. Wait for the process to complete. To verify the complete installation explore your terminal. As part of the installation you will see a message showcasing the completion of the installation as well as the exact version.

Was this page helpful?

Bookmark