The easiest way to install NDT:
pip install ndtracker- Python 3.8 or higher
- pip (latest version recommended)
# Clone the repository
git clone https://github.com/Javihaus/ndt.git
cd ndt
# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install in development mode with dev dependencies
pip install -e ".[dev]"python -c "from ndt import HighFrequencyTracker; print('NDT installed successfully!')"pip install ndtracker[jax]pip install ndtracker[docs]pip install ndtracker[dev,docs,jax]- CPU: Any modern CPU (x86_64, ARM64)
- Memory: Depends on model size; typically < 1GB overhead
- GPU: Optional, automatically used if available via PyTorch
- Disk: ~50MB for package, variable for results storage
- Linux: Ubuntu 18.04+, CentOS 7+, other major distributions
- macOS: 10.15+ (Catalina and later)
- Windows: 10 and 11
Core dependencies (automatically installed):
- torch >= 1.12.0
- numpy >= 1.21.0
- pandas >= 1.3.0
- matplotlib >= 3.5.0
- seaborn >= 0.11.0
- plotly >= 5.0.0
- scipy >= 1.7.0
- tqdm >= 4.62.0
- pyyaml >= 6.0
- h5py >= 3.6.0
If you get import errors, ensure your Python path is correct:
export PYTHONPATH=/path/to/ndt/src:$PYTHONPATHIf PyTorch is not installed or you need GPU support:
# CPU only
pip install torch --index-url https://download.pytorch.org/whl/cpu
# CUDA 11.8
pip install torch --index-url https://download.pytorch.org/whl/cu118
# See https://pytorch.org for more optionsRun the test suite:
pytest tests/ -vpip uninstall ndtrackerPre-configured Docker images will be available for easy deployment.
For installation issues:
- Check GitHub Issues
- Search existing issues
- Create a new issue with your environment details