Installation
============
HITEN requires Python 3.9 or higher. The recommended way to install HITEN is using pip.
Prerequisites
-------------
HITEN depends on several scientific Python packages:
- `numpy `_ (>= 1.23)
- `scipy `_ (>= 1.15)
- `numba `_ (>= 0.61)
- `mpmath `_ (>= 1.3)
- `sympy `_ (>= 1.14)
- `h5py `_ (>= 3.13)
- `matplotlib `_ (>= 3.10)
- `tqdm `_ (>= 4.67)
- `pandas `_ (>= 2.3.0)
Installation Methods
--------------------
Stable Release
~~~~~~~~~~~~~~
To install the latest stable release from PyPI:
.. code-block:: bash
pip install hiten
Troubleshooting
---------------
Common Issues
~~~~~~~~~~~~~
**ImportError: No module named 'hiten'**
- Ensure HITEN is installed: ``pip list | grep hiten``
- Check your Python path: ``python -c "import sys; print(sys.path)"``
**Numba compilation errors**
- Update numba: ``pip install --upgrade numba``
- Clear numba cache: ``numba --clear-cache``
**Memory issues with large computations**
- Reduce problem size or use more efficient algorithms
- Consider using ``numba`` JIT compilation for better performance
**Performance issues**
- Ensure you're using optimized BLAS/LAPACK libraries
- Consider using Intel MKL or OpenBLAS
Getting Help
------------
If you encounter issues during installation:
1. Check the `GitHub Issues `_
2. Create a new issue with:
- Your operating system and Python version
- Complete error message
- Steps to reproduce the issue
Uninstallation
--------------
To uninstall HITEN:
.. code-block:: bash
pip uninstall hiten
This will remove HITEN and its dependencies (unless they're used by other packages).