Installation¶
Installing with pip & virtualenv on Linux¶
First, clone the source code to your local repository:
$ git clone https://gitlab.com/oscf/trapper-client.git
Change directory to
trapper-client
:$ cd trapper-client
To get the most up-to-date version switch to a branch
develop
:$ git checkout -b develop
Pull the source code of selected branch:
$ git pull origin develop
Create the virtual environment:
$ virtualenv -p python3 ./env
Activate the virtual environment:
$ source ./env/bin/activate
Install the requirements:
$ pip install -r reqs.txt $ garden install filebrowser --kivy
Finally you can run trapper-client:
$ python ./main.py
Installing with Anaconda on Windows (not tested)¶
Note
This is a recommended way of installing trapper-client on Windows machines. However, you can always use pip & virtualenv as described above for Linux.
To install Anaconda follow the official documentation:
https://docs.anaconda.com/anaconda/install/
Note
Be sure to download Python 3.X version of Anaconda.
It is much more convenient to use Git for Windows for cloning git repositories instead of using a standard Windows command line. Download and install Git (& Bash) for Windows:
Follow the steps 1-4 from Installing with pip & virtualenv on Linux.
Install the requirements:
conda install --file reqs.txt
Finally you can run trapper-client:
python ./main.py
Note
If you want to run trapper-client with Anaconda in a virtual environment follow the steps described here before installing the requirements (step 4)