Linux¶
$ sudo apt install python2.7
$ curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
$ python2.7 get-pip.py
$ git clone https://github.com/n-bock/proespm.git
$ cd proespm
$ pip2 install -r requirements.txt
You might have to add the pip2 executable to your PATH variable before executing the last command. E.g adding export PATH=$HOME/.local/bin:$PATH to your ~/.zshrc file.
Windows¶
Install the following packages and use standard settings when asked.
- Install Python 2.7
- Install pycairo-1.8.10.win32-py2.7.msi
- Install pygobject-2.28.3.win32-py2.7.msi
- Install pygtk-2.24.0.win32-py2.7.msi
- Install Gwyddion 2.55.win32
- Open cmd, navigate with cd to C:\Python27scripts and install the required Python libaries.
$ pip install -r <path-to-requirements.txt>
Set system parameters¶
Edit config.yml file to match the gwyddion executable. You can test the correct installation by setting debug modus: Yes and execute the program.
system: win32 gwy name: gwyddion.exe win32 gwy path hint: C:\Program Files (x86)\Gwyddion\bin win32 gwyutils rel path: share\gwyddion\pygwy linux gwyutils path: /usr/share/gwyddion/pygwy debug modus: No