[AstroPy] Back to Python. Precession and PhysConst code.

Erik Bray embray@stsci....
Thu Jan 26 09:19:13 CST 2012


That means that this RO package requires distribute or setuptools to 
install, but was not kind enough to include it with the package.

Download http://python-distribute.org/distribute_setup.py and run
`python distribute_setup.py`.  Then run: `easy_install RO` (assuming 
that you have C:\Python27\Scripts on your path, because that's where the 
easy_install program is installed to).

If you use that, then you don't have to worry about downloading the 
archive from PyPI or even extracting it.  easy_install will do that for 
you for any package on PyPI.

Erik

On 01/25/2012 09:15 PM, Wayne Watson wrote:
> Well, that didn't work. Here's what happened.
>
> C:\Python27\Lib\site-packages\RO-2.9.3>setup.py install
> Traceback (most recent call last):
> File "C:\Python27\Lib\site-packages\RO-2.9.3\setup.py", line 31, in
> <module>
> from setuptools import setup, find_packages
> ImportError: No module named setuptools
>
> C:\Python27\Lib\site-packages\RO-2.9.3>dir
> Volume in drive C is HP
> Volume Serial Number is 7AB2-5106
>
> Directory of C:\Python27\Lib\site-packages\RO-2.9.3
>
> 01/25/2012 04:15 PM <DIR> .
> 01/25/2012 04:15 PM <DIR> ..
> 01/25/2012 04:15 PM <DIR> docs
> 09/09/2011 02:58 PM 2,311 PKG-INFO
> 01/25/2012 04:15 PM <DIR> python
> 08/03/2010 10:06 AM 281 README.txt
> 08/04/2010 05:09 PM 2,490 releaseNewVersion.py
> 01/25/2012 04:15 PM <DIR> RO.egg-info
> 09/09/2011 02:58 PM 59 setup.cfg
> 06/18/2010 01:30 PM 3,145 setup.py
> 01/25/2012 04:15 PM <DIR> tools
> 01/25/2012 04:15 PM <DIR> ups
> 5 File(s) 8,286 bytes
> 7 Dir(s) 536,760,406,016 bytes free
>
> C:\Python27\Lib\site-packages\RO-2.9.3>
>



More information about the AstroPy mailing list