Project

General

Profile

Error in Demo file

Added by Kaarthikeyan R over 3 years ago

While practising, I downloaded the Data and Readme file available in the GAMMA DEMO file under " Gamma_Demo_S1_Burst_Number ".
In that while running the first command it is throwing an error. i.e S1_Burst_tab_from_zipfile.py


Replies (2)

Error in Demo file - Added by Charles Werner over 3 years ago

Hello,

The error is that the bash sell cannot find the Python program and this means
that the directory where the program is located is not in the search path.
Make sure the following line is in your .bashrc initialization file.

export PYTHONPATH=$GAMMA_HOME:$PYTHONPATH

Make sure that $GAMMA_HOME is defined as the directory where the Gamma software
is installed. Check this using the command

echo $GAMMA_HOME

  1. on my computer:
    echo $GAMMA_HOME
    /home/cw/gamma_software

echo $PYTHONPATH
/home/cw/gamma_software:

This is  described in the installation instructions for the gamma software.

INSTALL_linux.html

Best regards,
Charles

Error in Demo file - Added by Charles Werner over 3 years ago

Hello,

The error is that the bash sell cannot find the Python program and this means
that the directory where the program is located is not in the search path.
Make sure the following line is in your .bashrc initialization file.

export PYTHONPATH=$GAMMA_HOME:$PYTHONPATH

Make sure that $GAMMA_HOME is defined as the directory where the Gamma software
is installed. Check this using the command

echo $GAMMA_HOME

  1. on my computer:
    echo $GAMMA_HOME
    /home/cw/gamma_software

echo $PYTHONPATH
/home/cw/gamma_software:

This is  described in the installation instructions for the gamma software.

INSTALL_linux.html

Best regards,
Charles

    (1-2/2)