Transform TEI XML files to a CSV
$ git clone https://github.com/komax/teitocsv
- Create a new environment, e.g.,
tei2csv
and install all dependencies.
$ conda env create --name tei2csv --file requirements.txt
- Activate the conda environment. Either use the anaconda navigator or use this command in your terminal:
$ conda activate tei2csv
or
$ source activate tei2csv
Alternatively use a venv from your python installation.
- Create the virtual environment
$ python3 -m venv env
- Activate the virtual environment
$ source env/bin/activate
- Install packages
$ pip install --requirement=requirements.txt