Skip to main content
PAS2 can be installed using pip or by cloning the repository directly. Choose the method that best fits your workflow.

Prerequisites

Before installing PAS2, ensure you have:
  • Python 3.8 or higher
  • pip package manager
  • Git (for repository installation method)

Installation methods

pip install -r requirements.txt

Required dependencies

The installation will include the following packages:
  • gradio - Web interface framework
  • pandas - Data manipulation and analysis
  • numpy - Numerical computing
  • mistralai - Mistral AI API client
  • openai - OpenAI API client
  • pydantic - Data validation
  • python-dotenv - Environment variable management

Verify installation

After installation, verify that all dependencies are correctly installed:
1

Check Python version

python --version
Ensure you’re running Python 3.8 or higher.
2

Verify package installation

pip list | grep -E "gradio|mistralai|openai"
Confirm that the core packages are installed.
3

Test import

from pas2 import PAS2
print("Installation successful!")
This should run without errors.
If you encounter any import errors, try reinstalling the dependencies with pip install -r requirements.txt --force-reinstall.

Next steps

After installation, proceed to:

Build docs developers (and LLMs) love