Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.41 KB

File metadata and controls

13 lines (8 loc) · 1.41 KB

Python App

PSRAT will run on macOS and Linux running Python 3.x. Python can be installed from: https://www.python.org/downloads/.

The Python libraries required to run PSRAT can be found in requirements.txt. To install compatible versions of the libraries, first open a terminal/command prompt window and navigate to the PSRAT root directory. Then, run the command pip install -r requirements.txt.

On some systems, you may first need to create a virtual environment with python -m venv venv && source ./venv/bin/activate before installing the requirements. In this case, once the requirements have been installed, you must run source ./venv/bin/activate everytime you wish to run PSRAT.

A Note For MacOS Python App

Newer versions of MacOs may produce an error when attempting to install pyqt5 using pip. See https://pypi.org/project/PyQt5/ and https://qthub.com/static/doc/qt5/qtdoc/macos.html# for information on how to install the necessary dependancies.

Running the Python App

There are two interfaces to run the PSRAT python app: through the GUI, or through the CLI. If you're not sure which to use, follow the instructions for the GUI. You can launch the gui by running gui.py with python (with an activated venv if using a venv). Usage instructions for the GUI can be found at #Using the GUI and usage instructions for the CLI can be found at #Python App CLI