Problem when loading loadLSST.bash


#1

I have installed LSST software v15.0 several days ago, and it functions normally,
but today an error occured when i start loading loadLSST.bash.

 $ source loadLSST.bash 
 Traceback (most recent call last):
   File "/home/chiba/Research/lsst_stack/eups/2.1.4/bin/eups_setup", line 28, in <module>
     import eups.setupcmd
 ModuleNotFoundError: No module named 'eups.setupcmd'
 
 During handling of the above exception, another exception occurred:
 
 Traceback (most recent call last):
   File "/home/chiba/Research/lsst_stack/eups/2.1.4/bin/eups_setup", line 42, in <module>
     import eups.setupcmd
ModuleNotFoundError: No module named 'eups.setupcmd'
bash: export: setup: not a function
bash: export: unsetup: not a function

Any help will be greatly appreciated.
Thank you.


(Tim Jenness) #2

Can you start a new shell and try again? I think that there must be something odd about your inherited environment that caused it to stop working. Have you updated your .profile in the past couple of days?


#3

Thank you for the reply.
Yes I did try starting it in a new shell, but the problem still exists.
I don’t know about the .profile, so I think I didn’t update that.

In the worst case, I will reinstall lsst again, but I want to know if
I can solve the problem without re-installation.

Thanks


#4

I have reinstalled the software, and it works now.
Thank you for the help anyway.


(Leanne Guy) #5

I recently encountered the same issue. reinstallation, restart, etc did not help. I eventually worked out that it was because I had PYTHONPATH set. Unsetting PYTHONPATH fixed the problem