python-astrodynamics / astrodynamics

http://www.python-astrodynamics.org
33 stars 6 forks source link

Encountering Import File Mismatch in Testing #15

Open OrbitalMechanic opened 8 years ago

OrbitalMechanic commented 8 years ago

I'm attempting to install and test the python astrodynamics software on a Mac Pro running Mac OS X (ver. 10.12.1) Sierra under Python 2.7.12 in the Anaconda distribution.

I cloned astrodynamics from GitHub and installed the software from its high level directory using the command, python setup.py install. The installation appeared successful, but when I executed the command, conda list, astrodynamics failed appear. See the file conda_list.txt attached to this file. What is going on here?

When I run the tests using the command, python runtests.py, I got file mismatch errors as indicated in the file instellation and test of astrodynamics.txt. My question here is how does one fix this problem?

Please advise.

Sam Dupree.

conda_list.txt instellation and test of astrodynamics.txt

RazerM commented 8 years ago

Upgrading to pytest 3 will prevent the file mismatch errors. runtests.py is deprecated, you can use python setup.py test or just pytest.

runtests.py has been removed on the downloadspk and frames branches.

RazerM commented 8 years ago

pip install . should be used in favour of python setup.py install. It should then show up in conda list.