Closed ulhiller closed 8 years ago
I have no idea what's causing this, but I get a somewhat similar error on a linux machine:
$ python setup.py install_radex
/home/aginsbur/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install_radex
Downloading RADEX
Download succeeded, or at least didn't obviously fail.
error: [Errno 2] No such file or directory: u'/scratch/aginsbur/astropy/download/1defa05c60c0df7c847ebc33345310c6'
which appears to be a problem with the download caching mechanism.
Similarly, myradex is not working:
$ python setup.py install_myradex
/home/aginsbur/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install_myradex
make: *** No rule to make target `wrapper'. Stop.
error: [Errno 2] No such file or directory
So apparently OS-dependent issues in the setup script are causing problems.
I've fixed at least one of the bugs, but I think the second issue you're seeing might be related to git submodules. Try doing:
git submodule init
git submodule update
in the pyradex directory, then try again
that worked. Thanks a lot for your help.
I try to install radex. My system: opensuse 13.2 x86_64 Python 2.7.8 gcc (SUSE Linux) 4.8.3 20140627 GNU Fortran (SUSE Linux) 4.8.3 20140627 numpy 1.10.1 astropy 1.0.6 astroquery 0.3.0
All the necessary prerequisites are installed. When i run python setup.py install_radex install_myradex install I get the error No rule to make target 'wrapper' and the installation prosess stops. (full output: see below).
"python setup.py install_radex install" runs without errors. After it within python "import pyradex" is accepted witout error.
I what am i missing? How can i debug? To which package belongs wrapper?
Thanks a lot in advance, ulrich
Output of "python setup.py install_radex install_myradex install":