szieleniewski / NIFSIM

JWST/NIRSpec-IFU Simulation pipeline
0 stars 3 forks source link

module error #1

Open aleejandrof opened 5 years ago

aleejandrof commented 5 years ago

Greetings. I'm an undergrad student trying to run your NIRSpec pipeline, in order to learn more about astrophysics' data processing. I am currently using Ubuntu 16.04, Python 3.7 (Anaconda). I have downloaded every needed package but pprocess, since it has given me a bunch of errors. I skipped it since its usage is needed to run multiple processes at once, but I'm only trying to run the GUI first. So, this is the error I get in the terminal.

image

I have tried thoroughly to find answers through stackoverflow, but I haven't found anything helpful. Is there a proper configuration to run the GUI?

szieleniewski commented 5 years ago

Hello, the commands module is only available in python2.x, and has been replaced with subprocess for python3. Try either using Python2 or replace any mention of "commands" with "subprocess" in the code (it is only used on lines 19 and 34). Cheers