Preparation for the Installation

Create a Virtual Environment

Why you should use a Virtual Environment

Python applications will often use packages and modules that don’t come as part of the standard library. Applications will sometimes need a specific version of a library, because the application may require that a particular bug has been fixed or the application may be written using an obsolete version of the library’s interface. This means it may not be possible for one Python installation to meet the requirements of every application. If application A needs version 1.0 of a particular module but application B needs version 2.0, then the requirements are in conflict and installing either version 1.0 or 2.0 will leave one application unable to run. The solution for this problem is to create a virtual environment, a self-contained directory tree that contains a Python installation for a particular version of Python, plus a number of additional packages.

Creation of the Environment

  1. Open your Anaconda Prompt

  2. Create a virtual environment for the project with the Python version 3.8.x

    conda create -n iagos_dbms python=3.8
    
  3. To activate this environment, use

    conda activate iagos_dbms
    
  4. Make sure that your Python version is between 3.8.0 and 3.9

    python --version
    
  5. To deactivate an active environment, use

    conda deactivate
    

Generate SSH keys for GIT authorization (optional)

  1. Make sure you installed Git. If you haven’t installed it yet, use the link https://gitforwindows.org/ to install it

  2. Open Git Bash

  3. Generate the needed public/private keys. Therefore type the following command into the command prompt: ssh-keygen -t rsa

  4. Open the public key with an editor and copy the content. Be sure that you don’t copy any whitespace while copying public key’s content (id_rsa.pub)

  5. Add the public key to the repository. Therefore login with your Gitlab account and add the key under https://jugit.fz-juelich.de/profile/keys

Now you’re ready to start using Git via SSH.