Project

General

Profile

Actions

How to install OnkoDICOM application

General Steps:

Now from here, we will choose the OS and run as follows:

For Windows Users:

pyinstaller OnkoDICOM-Windows.spec

For Ubuntu-18.04 Users:

pyinstaller OnkoDICOM-Linux.spec

For Ubuntu-20.04 Users:

pyinstaller OnkoDICOM-Linux.spec

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).

sudo apt-get install libqt5x11extras5

For Mac Users:

pyinstaller OnkoDICOM-Darwin.spec

Open up the dist folder in the same location as the repository, the distributable application will be in there

NOTE

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.

  • cd OnkoDICOM.app/Contents/Resources/tcl
  • Open up init.tcl and find where it says:
  • package require -exact Tcl 8.6.8
  • We must replace it with:
  • package require -exact Tcl 8.5.9
  • Once this is done, our application will open normally with a double click.

Updated by Peter Qian almost 4 years ago · 2 revisions