isochrones
isochrones copied to clipboard
nosetests ran 0 tests
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
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 [email protected] 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
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
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...
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.
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:
Finally it gets stuck here before terminating
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
Quick update: Copying the isochrones folder from a working installation fixed the problem.
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.
It didn't work
in WSL specifically mention the tests folder like this:
nosetests ./tests/*.py