GunnsDraw Dependencies - nasa/gunns GitHub Wiki

Python

The GunnsDraw Python scripts in gunns/draw require Python 2.7 or 3. We’ve tested them in 2.7.5, 2.7.10, and 3.7.5.

Python Tkinter Package (Optional)

This is optional. If you have the Tkinter Python package installed, our python scripts in gunns/draw/, such as netexport.py, can use it to display file selection windows, etc. If you don’t have it installed, our scripts will still run but require more manual input from the command line. Tkinter is usually present in Python installs in Linux & Mac systems. You can check for the presence of Tkinter by starting Python from the command line:

Using Python 2.7:

$ python -m Tkinter

Or using Python 3:

$ python -m tkinter

If you have Tkinter, it will pop up a little example tk window in your display.

On Linux systems, you may be able to install Tkinter by:

$ sudo yum install tkinter

Draw.io Desktop App (Optional)

Draw.io can either be used in your browser or by downloading their free desktop app.

  • In your browser
  • Download the desktop app
    • Note that in Centos 7 Linux, in the past we’ve had to add the —nodeps option to yum install the .rpm file successfully.
    • More notes on draw.io, downloading and installing: What is Draw.io?
  • The browser and desktop apps are built from the same source code and are functionally almost identical. The differences are mainly in how they load and store your files.
  • We recommend using the desktop app when you can, as it more easily integrates with our file systems and in our workflow. You should only use the desktop version for drawings containing sensitive information.
⚠️ **GitHub.com Fallback** ⚠️