Installation
Dependencies
Required
Python 3.x
Optional
odc (>= 1.4.0)
Note
For codc to work, the odc library must be compiled and installed on the system and made available to Python (through the CFFI mechanism) as a shared library. There are multiple ways to make the library visible to CFFI: it can be installed as a system library, the installation prefix can be passed in odc_DIR
environment variable, or the library directory can be included in LD_LIBRARY_PATH
.
Python Package Installer
Install the package via PyPI:
pip install pyodc
Conda Forge
Install the package in Conda environment via conda-forge channel:
conda install -c conda-forge pyodc
Note
To use codc module, you can install an optional odc dependency via conda-forge channel:
conda install -c conda-forge odc
Check Installation
To check if the modules were installed correctly:
python
>>> import pyodc
>>> import codc # optional