Status: offline
Registered: 05/05/2007
Posts: 2
|
I tried to install Iraf and these external packages since a few hours and it does not work.
I began with installing Iraf 2.12a and now 2.13-Beta2 (just to see if it was related to Iraf version) and both are working fine.
Then I installed TABLES + STSDAS v3.6 and again, it appears to working as it should. The only problem was when I compile the python code with [code:1:86eed6bb9f]python python/compileall.py ./python/*[/code:1:86eed6bb9f] where some modules can't be listed (and I suppose now that problems come from there).Here the supposed errors :Can't list ./python/compileall.py
Listing ./python/compileall.pyc ...
Can't list ./python/compileall.pyc
Listing ./python/rnlincor.py ...
Can't list ./python/rnlincor.py
Listing ./python/rnlincor.pyc ...
Can't list ./python/rnlincor.pyc
Listing ./python/sexcatalog.py ...
Can't list ./python/sexcatalog.py
Listing ./python/sexcatalog.pyc ...
Can't list ./python/sexcatalog.pyc
Listing ./python/sextractor.py ...
Can't list ./python/sextractor.py
Listing ./python/sextractor.pyc ...
Can't list ./python/sextractor.pyc
Listing ./python/tran.py ...
Can't list ./python/tran.py
Listing ./python/tran.pyc ...
Can't list ./python/tran.pyc
Listing ./python/tweak.py ...
Can't list ./python/tweak.py
Listing ./python/tweak.pyc ...
Can't list ./python/tweak.pyc
Listing ./python/upincd.py ...
Can't list ./python/upincd.py
Listing ./python/upincd.pyc ...
Can't list ./python/upincd.pyc
After that, installation of STSCI_Python v2.4 runs smoothly, with no errors.
Pyraf works fine except for the Python related modules, like Multidrizzle .
Here the error messages when I try to go to stsdas.analysis.dither :
Traceback (innermost last):
File "<CL script CL1>", line 1, in <module>
iraf.dither(_save=1)
File "<CL script analysis.dither>", line 94, in dither
PkgBinary=PkgBinary)
File "/iraf/packages/stsdas/pkg/analysis/dither/tran_iraf.py", line 7, in <module>
import tran
File "./python/tran.py", line 83, in <module>
import pydrizzle
File "/usr/lib/python2.5/site-packages/pydrizzle/__init__.py", line 7, in <module>
import arrdriz
ImportError: /usr/lib/libf2c.so.2: undefined symbol: MAIN__
So it appears to be related with import problems, although everything seems to be correctly installed.If someone has an idea, it would be very appreciable.
|
Status: offline
Registered: 11/29/2005
Posts: 14
|
You are not alone, I have the same problem with stsci_python 2.4 in Ubuntu 7.04. I emailed their help desk and they are baffled as well. My initial guess is the version of python that comes with 7.04.
|
Status: offline
Registered: 05/05/2007
Posts: 2
|
Finally, I found the problem.
The fact is when you install the python packages with "python setup.py install --with-f2c=<path_to_f2c>", it does not install the packages present in the subfolders.You have to go inside each subfolder and install each module ... and it works.
I use Multidrizzle and it works fine !
|
Status: offline
Registered: 10/24/2007
Posts: 4
|
I had the same problem with iraf 2.14 and stsdas 3.8 on kubuntu.I couldn't solve the problem with fgrise "solution".When I load hst_calib I get:
stsdas> hst_calib
Warning: package `synphot' includes Python tasks that require PyRAF
But I have pyraf on my system!
Does anyone have an idea?Thanks,
Alexandre
|