Project

General

Profile

How to install OnkoDICOM application » History » Version 2

Peter Qian, 02/07/2021 12:05 PM

1 1 Peter Qian
h1. How to install OnkoDICOM application
2
3
h2. General Steps:
4 2 Peter Qian
* The installation process can be found here https://github.com/didymo/OnkoDICOM/wiki/Installation-Instructions#ubuntu
5 1 Peter Qian
* Ensure you have installed virtualenv with Python 3.7.x
6
* Create a virtual environment like above and then activate the virtual environment
7
* Make sure you install pyinstaller
8 2 Peter Qian
<pre><code class="python">pip install pyinstaller</code></pre>
9 1 Peter Qian
10
11
Now from here, we will choose the OS and run as follows:
12
13
h2. For Windows Users:
14
15
pyinstaller OnkoDICOM-Windows.spec
16
17 2 Peter Qian
h2. For Ubuntu-18.04 Users:
18 1 Peter Qian
19
pyinstaller OnkoDICOM-Linux.spec
20 2 Peter Qian
21
h2. For Ubuntu-20.04 Users:
22
23
pyinstaller OnkoDICOM-Linux.spec
24
25
If an error is still occurring after using the specifications. An additional library is required for PyQt5 version only (may become redundant after PySide6 implementation).
26
<pre><code class="python">sudo apt-get install libqt5x11extras5</code></pre>
27 1 Peter Qian
28
h2. For Mac Users:
29
30
pyinstaller OnkoDICOM-Darwin.spec
31
32
Open up the dist folder in the same location as the repository, the distributable application will be in there
33
34
h2. NOTE
35
36
If you are experiencing any issue with opening the application up via the dist folder on Mac, what you have to do is very simple once we have our bundled App we must enter to its content to the tcl folder.
37
38
* cd OnkoDICOM.app/Contents/Resources/tcl
39
* Open up init.tcl and find where it says:
40
* package require -exact Tcl 8.6.8
41
* We must replace it with:
42
* package require -exact Tcl 8.5.9
43
* Once this is done, our application will open normally with a double click.