Installation problem

109 views
Skip to first unread message

Bitan Ghosal

unread,
Jul 28, 2015, 5:49:31 AM7/28/15
to enrico

Dear Sanchez & Deil,

I got the following messages when trying to install enrico in my pc.

[bitan@bitan FermiTools]$ . ~/.bashrc
[bitan@bitan FermiTools]$ ferminit
[bitan@bitan FermiTools]$ enricoinit
Adding Enrico to PATH and PYTHONPATH
Setting environment variables for data file locations
Run enrico_setupcheck to check if you are set up correctly.
Check your PATH and PYTHONPATH if enrico_setup is not found or gives an error.
[bitan@bitan FermiTools]$ enrico_setupcheck
*** COMMAND LINE TOOLS ***
python.............. /home/bitan/FermiTools/ScienceTools-v9r31p1-fssc-20130410-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12/bin/python
ipython............. /usr/bin/ipython
gtlike.............. /home/bitan/FermiTools/ScienceTools-v9r31p1-fssc-20130410-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12/bin/gtlike
enrico_setupcheck... /home/bitan/FermiTools/enrico-master/bin/enrico_setupcheck
*** PYTHON PACKAGES ***
enrico.............. /home/bitan/FermiTools/enrico-master/enrico/__init__.pyc
IPython............. MISSING
pyfits.............. /home/bitan/FermiTools/ScienceTools-v9r31p1-fssc-20130410-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12/lib/python2.7/site-packages/pyfits/__init__.pyc
kapteyn............. MISSING
gt_apps............. /home/bitan/FermiTools/ScienceTools-v9r31p1-fssc-20130410-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12/lib/python/gt_apps.pyc
UnbinnedAnalysis.... /home/bitan/FermiTools/ScienceTools-v9r31p1-fssc-20130410-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12/lib/python/UnbinnedAnalysis.pyc
BinnedAnalysis...... /home/bitan/FermiTools/ScienceTools-v9r31p1-fssc-20130410-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12/lib/python/BinnedAnalysis.pyc
*** DIRECTORIES ***
FERMI_DIR........... YES....... /home/bitan/FermiTools/ScienceTools-v9r31p1-fssc-20130410-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12
CATALOG_DIR......... YES....... /home/bitan/FermiTools/enrico-master/Data/catalog
FERMI_DATA_DIR...... YES....... /home/bitan/FermiTools/enrico-master/Data
DOWNLOAD_DIR........ YES....... /home/bitan/FermiTools/enrico-master/Data/download
PREPROCESSED_DIR.... YES....... /home/bitan/FermiTools/enrico-master/Data/preprocessed
ENRICO_DIR.......... YES....... /home/bitan/FermiTools/enrico-master
WEEKLY_DIR.......... NO........ /home/bitan/FermiTools/enrico-master/Data/download/weekly/photon
CONFIG_DIR.......... YES....... /home/bitan/FermiTools/enrico-master/enrico/config
DIFFUSE_DIR......... YES....... /home/bitan/FermiTools/enrico-master/Data/diffuse
*** FILES ***
CATALOG............. MISSING
DIFFUSE_GAL......... MISSING
DIFFUSE_ISO_SOURCE.. MISSING
DIFFUSE_ISO_CLEAN... MISSING
*** FARM ***
FARM................ LAPP

I installed Ipithon but still its showing it as missing.
The gui is also not working.

[bitan@bitan FermiTools]$ enrico_'gui'
Error processing line 1 of /usr/lib/python2.7/site-packages/abrt.pth:

  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 164, in addpackage
      exec line
    File "<string>", line 1, in <module>
    File "/usr/lib/python2.7/site-packages/abrt_exception_handler.py", line 27, in <module>
      import socket
    File "/usr/lib/python2.7/socket.py", line 47, in <module>
      import _socket
  ImportError: /usr/lib/python2.7/lib-dynload/_socketmodule.so: wrong ELF class: ELFCLASS32

Remainder of file ignored
Traceback (most recent call last):
  File "/home/bitan/FermiTools/enrico-master/bin/enrico_gui", line 4, in <module>
    import logging
  File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref
ImportError: /usr/lib/python2.7/lib-dynload/timemodule.so: wrong ELF class: ELFCLASS32


Please help me.

Regards,
Bitan

Sean Mooney

unread,
Jun 2, 2016, 9:45:39 AM6/2/16
to enrico
Hi Bitan, did you get an answer to this issue? I also have iPython installed but I get the same message as you did.

Any help is greatly appreciated,
Thanks!
Sean

Bitan Ghosal

unread,
Jun 2, 2016, 1:10:13 PM6/2/16
to gammapy...@googlegroups.com
Hello Sean,

Unfortunately I did not get any reply to this issue. 
Till now it is unresolved, I could not use the tool 
enrico for fermi analysis.
If you can solve this problem please let me know.
Any help will surely be greatly appreciated.

With regards,
Bitan

Bitan Ghosal
Astrophysical Sciences Division
Bhabha Atomic Research Centre
Mumbai-400085
India.
Tel : +91-22-2559 1797 / +91-22-2559 1770 (O)


--
You received this message because you are subscribed to a topic in the Google Groups "enrico" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gammapy_enrico/8nXCqYiQ-KQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gammapy_enric...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages