Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorials:pycram:setup [2020/04/08 07:30] – jdech | tutorials:pycram:setup [2021/01/14 09:28] – [Setting up PyCRAM] jdech | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Cloning the PyCRAM repo | * Cloning the PyCRAM repo | ||
* Write a setup Script | * Write a setup Script | ||
- | Installing the dependencies | + | * |
- | + | All dependencies are available | |
- | The cloning of the PyCRAM repo is trivial. | + | |
The setup script is used to add the src directory to the python path. This has to be done so Python can find PyCRAM when importing from there. | The setup script is used to add the src directory to the python path. This has to be done so Python can find PyCRAM when importing from there. | ||
+ | |||
+ | This tutorial is tested with Python 3.8 and Ubuntu 18.04. | ||
===== Dependencies ===== | ===== Dependencies ===== | ||
To install PyCRAM firstly the required packages must be installed. These are: | To install PyCRAM firstly the required packages must be installed. These are: | ||
Line 20: | Line 21: | ||
===== PyCRAM ===== | ===== PyCRAM ===== | ||
To get PyCRAM simply clone the repository with the following command: | To get PyCRAM simply clone the repository with the following command: | ||
- | < | + | < |
+ | git clone https:// | ||
+ | git submodule init | ||
+ | git submodule update | ||
+ | </ | ||
The cloned repository contains the source code for PyCRAM as well as two short demos which demonstrate how to use it. | The cloned repository contains the source code for PyCRAM as well as two short demos which demonstrate how to use it. |