jmason86 / MinXSS_Beacon_Decoder

Beacon decoder for the MinXSS CubeSat in space; MinXSS-2 launch on 2018-11-19
http://lasp.colorado.edu/home/minxss
GNU General Public License v3.0
11 stars 6 forks source link

Python3 required? #18

Closed K4KDR closed 5 years ago

K4KDR commented 5 years ago

Great to see you back on the verge of having another spacecraft in orbit!

In taking a first stab at running the new decoder on Ubuntu 16.04 (64-bit), I ran the suggested command and got the following:

k4kdr@:~/MinXSS_Beacon_Decoder$ python minxss_beacon_decoder.py 
  File "minxss_beacon_decoder.py", line 73
    print("[input_properties]", file=config_file)
                                    ^
SyntaxError: invalid syntax

... however, I do NOT get this error when running the command as:

python3 minxss_beacon_decoder.py

... is Python3 actually what is required to run this code? If so, it might be helpful to people if that is included in the instructions (please forgive if it is, and I just overlooked it).

-Scott, K4KDR

jmason86 commented 5 years ago

Good catch. Yep yep, using python 3 now. I'll update the README to state that explicitly. It'll also be in the environment.yml file that I'll upload shortly. Note that the Python Software Foundation will be ending support for python 2 in 2020.

jmason86 commented 5 years ago

The environment.yml file is now in the repository. Here's how to apply it if you're using anaconda.

jmason86 commented 5 years ago

I've also updated the README to call out python 3. Going to close this issue but feel feel free to reopen if you don't think it's resolved.