To develop GUI for interferometer simulation with Debian 10, you need to install software as follows.


The following tasks require that you are running Debian 10 with VirtualBox. Please refer to the following instructions on how to start Debian 10.

And Add a logged-in user to sudo in debian10.

% gpasswd -a username sudo

Note that the username is your own username.

Restart using the following command.

% sudo reboot

Restart using the following command

Installation of anaconda3

Download the anaconda3 Linux 64-Bit (x86) Installer (550 MB) →

Start the terminal and go to the directory where you downloaded anaconda3.

It's probably in Downloads.Enter the following command.

% bash ./

If you close the terminal and open it again, you can use the conda commands.

Igwn python37

Download igwn Linux version from the following URL.


This file is a collection of packages used in anaconda. It is used to create a virtual environment with anaconda. By using the conda command, you can easily switch the virtual environment you created to active. To create the virtual environment, enter the following command.

% conda env create --file igwn-py37.yaml -n XXXXX

Please give XXXXX an appropriate name that is easy to understand. XXXXX will be the name you will call later when you activate this virtual environment.

To switch this virtual environment, you can use the following command.

% conda activate XXXXX

% conda deactivate

To see the current virtual environment you have, use the following command.

% conda info -e

You can see the packages installed when you create a virtual environment using this file with the following command.

% conda list

Installation of Finesse2

Finesse ( is a simulation tool that you can use with Jupyter notebook and others.

To install Finesse using conda, type the following command.

% conda install -c gwoptics pykat

When the installation is complete, open jupyter notebook and enter the following command.

from pykat import finesse

from pykat.commands import * 

kat = finesse.kat()

code = """

l laser 1 0 n1

s space 1 n1 n2

pd pout n2

xaxis laser P lin 1 10 100



out =


If you see the graph, the installation was successful.

You may encounter some errors (related to GSL) when installing in this manner. In that case, entering the following command may solve the problem.

% ln -s $HOME/anaconda3/envs/XXXXX/lib/ $HOME/anaconda3/envs/XXXXX/lib/

Note that XXXXX is the name you've chosen.

If you don't want to see (base) on the terminal, you should run this command once.

% conda config --set auto_activate_base false

Install GUI package

conda install -c conda-forge pysimplegui

Download the github file from the terminal

Set up a terminal to download files uploaded to Github from the terminal. Open a terminal and type the following command.

% sudo apt-get install git

To download the file, you can use the following command.

% git clone XXX

XXX is the URL of the file you want to download.

Install emacs

If the editor is not installed, you need to install it. You can install it by typing the following command into a terminal.

% sudo apt-get install emacs

KAGRA/Subgroups/MIF/Simulation/CondaSetup (last edited 2020-08-26 13:59:31 by HirotakaYuzurihara)