Python Support in EarlyAI
EarlyAI provides test generation capabilities for Python, allowing developers to seamlessly create unit tests for their Python code. However, due to variations in system architectures and dependencies, the extension currently supports only specific architectures and operating systems.
This guide outlines the supported environments to help ensure compatibility before using EarlyAI for Python projects.
π Supported Architecturesβ
Architecture | Status | Notes |
---|---|---|
x86_64 (AMD64) | β Fully Supported | Linux, Windows, and macOS (Intel) work out-of-the-box. |
ARM64 (AArch64) | β Not Supported | |
i386 (x86 32-bit) | β Not Supported | glibc 2.35 dropped 32-bit support. |
EarlyAI currently supports x86_64 (AMD64) as the primary architecture. ARM64 and 32-bit architectures are not supported due to dependency requirements and missing toolchain compatibility.
π Supported Operating Systemsβ
OS | x86_64 Support | ARM64 Support |
---|---|---|
Ubuntu 22.04+ | β Yes | β No |
Windows 10/11 | β Yes | β No |
macOS (Intel x86_64) | β Yes | β No |
macOS (M1/M2 ARM64) | β Yes (via Rosetta 2) | β No |
Debian 12+ | β Yes | β No |
Fedora 37+ | β Yes | β No |
Amazon Linux 2023 | β Yes | β No |
RHEL 9 / CentOS 9 | β Yes | β No |
Alpine Linux | β No | β No |
For Linux users, glibc
versions play a key role in compatibility. While most modern distributions with glibc 2.34+
are supported, some may require manual installations.
macOS (M1/M2 ARM64) Supportβ
EarlyAI currently does not have a native ARM64 version, but it works on M1/M2 Macs via Rosetta 2. If Rosetta 2 is not installed, macOS will prompt you to install it when running EarlyAI. You can also install it manually with:
softwareupdate --install-rosetta --agree-to-license
β Check Your System Requirementsβ
Use the following instructions to check if your system is compatible with EarlyAI.
Linuxβ
- Run the following command to check your system architecture and
glibc
version:
uname -m && ldd --version
- If you see x86_64, your system is supported.
- If you see aarch64 (ARM64) or i386 (32-bit), your system is not supported.
- The first line of the ldd --version output should show glibc 2.34+.
- If your glibc version is lower, you may need to upgrade manually.
Windowsβ
Windows 10/11 is supported for x86_64 (AMD64) systems. To check your architecture:
- Open Command Prompt and run:
wmic os get osarchitecture
- If it returns "64-bit", your system is supported.
- If it returns "32-bit", EarlyAI is not supported.
macOSβ
- For Intel-based Macs (x86_64)
- Fully supported, no extra setup required.
- For Apple Silicon (M1/M2 ARM64 Macs)
- EarlyAI runs via Rosetta 2.
- To check if Rosetta 2 is installed, run:
/usr/bin/pgrep oahd
- If thereβs no output, Rosetta 2 is not installed. Install it using:
softwareupdate --install-rosetta --agree-to-license
- If Rosetta 2 is installed, EarlyAI should work as expected.
π’ Need Help?β
If you're unsure whether your system is supported or need assistance, feel free to reach out to support@startearly.ai.
We are excited to bring AI-powered unit test generation to more Python environments in the future!