Installation
This guide covers installing conllu_tools for various use cases.
Quick Install
Install the latest version using pip:
pip install conllu_tools
This installs the package and all required dependencies.
Requirements
System Requirements
Python: 3.9 or higher
Operating System: macOS, Linux, or Windows
Other Installation Methods
From Source
git clone https://github.com/gpizzorno/conllu_tools.git
cd conllu_tools
pip install -e .
From GitHub (Direct)
Install the latest development version without cloning:
pip install git+https://github.com/gpizzorno/conllu_tools.git
Specific Version
Install a specific version from GitHub:
pip install git+https://github.com/gpizzorno/conllu_tools.git@v1.0.0
Upgrade
Update to the latest version:
cd conllu_tools
git pull origin main
pip install -e . --upgrade
Troubleshooting
Import Error: No module named ‘conllu_tools’
Problem: Python cannot find the installed package.
Solutions:
Verify installation:
pip list | grep conllu_tools
Check that you’re using the correct Python environment:
which python
python -m site
Reinstall the package:
pip uninstall conllu_tools
pip install -e .
Version Conflicts
Problem: Dependency version conflicts during installation.
Solutions:
Use a fresh virtual environment:
python -m venv fresh_env
source fresh_env/bin/activate
pip install -e .
Update pip:
pip install --upgrade pip setuptools wheel
Install with
--no-depsand manually install dependencies:
pip install --no-deps -e .
pip install -r requirements.txt
Permission Errors
Problem: Permission denied during installation.
Solutions:
Use virtual environment (recommended):
python -m venv myenv
source myenv/bin/activate
pip install -e .
Use user installation:
pip install --user -e .
Next Steps
After installation, see:
Quick Start Guide - Get started with common tasks
User Guide - Comprehensive usage guides
Usage Examples - Usage examples
API Reference - Full API documentation