Skip to main content

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​

ArchitectureStatusNotes
x86_64 (AMD64)βœ… Fully SupportedLinux, Windows, and macOS (Intel) work out-of-the-box.
ARM64 (AArch64)❌ Not Supported
i386 (x86 32-bit)❌ Not Supportedglibc 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​

OSx86_64 SupportARM64 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​

  1. Run the following command to check your system architecture and glibc version:
uname -m && ldd --version
  1. If you see x86_64, your system is supported.
  2. If you see aarch64 (ARM64) or i386 (32-bit), your system is not supported.
  3. The first line of the ldd --version output should show glibc 2.34+.
  4. 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:

  1. Open Command Prompt and run:
wmic os get osarchitecture
  1. If it returns "64-bit", your system is supported.
  2. If it returns "32-bit", EarlyAI is not supported.

macOS​

  1. For Intel-based Macs (x86_64)
    • Fully supported, no extra setup required.
  2. 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!