ukhsa-collaboration / pygom

ODE modelling in Python
GNU General Public License v2.0
27 stars 20 forks source link

cython error #95

Closed hareball90 closed 1 month ago

hareball90 commented 1 year ago

@jontycarruthersphe had an install error

on doing python setup.py install

error message: File "/home/phe.gov.uk/jonathan.carruthers/pygom/pygom/pygom/model/stochastic_simulation.py", line 18, in from ._tau_leap import _cy_test_tau_leap_safety ModuleNotFoundError: No module named 'pygom.model._tau_leap'

hareball90 commented 1 year ago

solution appears to be to comment out line 18 in pygom/model/stochastic_simulation.py

unsure about the impact of removing this line

hareball90 commented 1 year ago

from @twomagpi delete tauleap.c and re-run cython on the package

hareball90 commented 6 months ago

@twomagpi - can you point Joe + Steven to this issue asap

twomagpi commented 1 month ago

Done. Build system updated to provide wheels for Windows in #114 that should mitigate this too.