Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't "import pyradex" #28

Closed
irc10216 opened this issue Dec 13, 2019 · 1 comment
Closed

can't "import pyradex" #28

irc10216 opened this issue Dec 13, 2019 · 1 comment

Comments

@irc10216
Copy link

Hi,
when I try to run pyradex, i get the following error (i have set the env variable RADEX_DATAPATH=/usr/local/pyradex/Radex/data/)

sahai@ppn:/<1>local/pyradex>python
Python 2.7.16 (default, Apr 30 2019, 15:54:59)
[GCC 8.3.1 20190223 (Red Hat 8.3.1-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import pyradex
Traceback (most recent call last):
File "", line 1, in
File "pyradex/init.py", line 7, in
from . import radex
File "pyradex/radex/init.py", line 1, in
from . import radex

(INFO ABOUT MY COMPUTER)
python -c "import sys, astropy, numpy; print(sys.version); print(numpy.version,astropy.version)"
2.7.16 (default, Apr 30 2019, 15:54:59)
[GCC 8.3.1 20190223 (Red Hat 8.3.1-2)]
('1.15.1', u'2.0.8')

sahai@ppn:/<1>local/pyradex>gfortran --version
GNU Fortran (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@keflavich
Copy link
Owner

I suggest switching to python 3, as python 2 will be officially unsupported within a month.

Could you please reproduce the full error? I don't see any error message in the text you posted; it looks like you only included part of the traceback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants