Installation
Prerequisites
Easy PMF requires Python 3.9 or later. We recommend using Python 3.10 or newer for the best experience.
Installation Methods
Via pip (Recommended)
The easiest way to install Easy PMF is using pip:
Development Installation
If you want to contribute to Easy PMF or need the latest development version:
-
Clone the repository:
-
Install in development mode:
This installs the package in "editable" mode with all development dependencies.
Using uv (Alternative)
If you prefer using uv for Python package management:
For development:
Verify Installation
To verify that Easy PMF is correctly installed, run:
Or test the command-line interface:
Dependencies
Easy PMF automatically installs the following core dependencies:
- matplotlib (≥3.5.0) - For creating visualizations
- numpy (≥1.20.0) - For numerical computations
- pandas (≥1.3.0) - For data manipulation
- seaborn (≥0.11.0) - For statistical visualizations
Optional Dependencies
Documentation
To build the documentation locally:
Development
For development and testing:
This includes:
- pytest - Testing framework
- pytest-cov - Coverage reporting
- ruff - Code linting and formatting
- mypy - Static type checking
- build - Package building
- twine - Package publishing
Troubleshooting
Common Issues
-
Import Error: If you get import errors, ensure your Python environment is activated and Easy PMF is installed in the correct environment.
-
Permission Errors: On some systems, you might need to use
pip install --user easy-pmfto install to your user directory. -
Version Conflicts: If you have dependency conflicts, consider creating a new virtual environment:
Getting Help
If you encounter installation issues:
- Check the GitHub Issues for similar problems
- Create a new issue with your system information and error messages
- Include your Python version (
python --version) and operating system
Next Steps
Once installed, proceed to the Quick Start Guide to begin using Easy PMF!