timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
117 stars 63 forks source link

nosetests ran 0 tests #130

Open roygomel opened 4 years ago

roygomel commented 4 years ago

Dear Timothy,

I am trying to install isochrones in windows 10. After implementing:

conda create -n isochrones numpy numba nose pytables pandas conda activate isochrones pip install isochrones

I ran the following test:

nosetests isochrones

and got the following message:

Ran 0 tests in 0.000s OK

Is it fine? Thanks a lot, Roy

timothydmorton commented 4 years ago

I haven't tested on windows; you're a guinea pig! One thing may be a different nosetests behavior (i.e., it is not finding the package). You can try to clone the repository, change into it, and run pytest, and see if that works? Chances are there may be other windows issues; would be cool if you found them!

On Mon, Jun 22, 2020 at 6:01 AM RoyGomel notifications@github.com wrote:

Dear Timothy,

I am trying to install isochrones in windows 10. After implementing:

conda create -n isochrones numpy numba nose pytables pandas conda activate isochrones pip install isochrones

I ran the following test:

nosetests isochrones

and got the following message:

Ran 0 tests in 0.000s OK

Is it fine? Thanks a lot, Roy

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/timothydmorton/isochrones/issues/130, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOOXW3E7KES57JBP2AVQYLRX5I2LANCNFSM4OESEYPA .

-- about.me/tim.morton

roygomel commented 4 years ago

Dear Timothy,

I installed Ubuntu18 (in a virtual-machine environment that is hosted by windows 10) and tried installing isochrones. Few seconds after running "nosetests", it suddenly stopped (i.e. killed), as you can see in the terminal output given below.

Could you please help me overcome this issue? Thanks a lot, Roy

(isochrones) roygomel@ubuntu:~$ nosetests isochrones /home/roygomel/anaconda3/envs/isochrones/lib/python3.8/site-packages/isochrones/tests/test_fits.py:6: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead. from pandas.util.testing import assert_frame_equal ...Killed

jvines commented 3 years ago

I'd like to bump this as I'm getting the same problem. Also when trying the quickstart, it also breaks down eventually with a Killed...

timothydmorton commented 3 years ago

Can either of you try pytest -v instead of nosetests, to get a better idea of where this failure is happening? @cecul is also starting to help me look into some of these outstanding issues, so he will explore, too.

jvines commented 3 years ago

with pytest isochrones I get a similar problem. I raised a separate issue recently. I think there's a problem when downloading the files as I'm running mist_initialize with the python debugger and eventually I get this:

Screen Shot 2021-01-11 at 21 58 56

Finally it gets stuck here before terminating

Screen Shot 2021-01-11 at 21 59 36

I'll try pytest -v next and update you.

My next move will be to copy the .isochrones folder from a working installation and see how it goes

jvines commented 3 years ago

Quick update: Copying the isochrones folder from a working installation fixed the problem.

timothydmorton commented 3 years ago

See if running the mist_initialize.py script (installed with the package) works for you to set up the files right for you from scratch.

jvines commented 3 years ago

It didn't work

diman82 commented 2 years ago

in WSL specifically mention the tests folder like this: nosetests ./tests/*.py