modelon-community / Assimulo

Assimulo is a simulation package for solving ordinary differential equations.
https://jmodelica.org/assimulo/index.html
GNU Lesser General Public License v3.0
70 stars 17 forks source link

Installation from pip broken #7

Open arnauqb opened 4 years ago

arnauqb commented 4 years ago

While the installation through conda goes smoothly, the installation through pip is broken due to some missing files:

DEBUG:['thirdparty/hairer/LICENSE_HAIRER', 'lib/hairer/LICENSE_HAIRER', 'thirdparty/glimda/LICENSE_GLIMDA', 'lib/glimda/LICENSE_GLIMDA', 'thirdparty/odepack/LICENSE_ODEPACK', 'lib/odepack/LICENSE_ODEPACK', 'thirdparty/odassl/LICENSE_ODASSL', 'lib/odassl/LICENSE_ODASSL', 'thirdparty/dasp3/LICENSE_DASP3', 'lib/dasp3/LICENSE_DASP3'] non-existing path in '': 'assimulo/thirdparty/hairer/dopri5.pyf' non-existing path in '': 'assimulo/thirdparty/hairer/rodas_decsol.pyf' non-existing path in '': 'assimulo/thirdparty/hairer/radau_decsol.pyf' non-existing path in '': 'assimulo/thirdparty/hairer/radar5.pyf' non-existing path in '': 'assimulo/thirdparty/odepack/odepack.pyf' non-existing path in '': 'assimulo/thirdparty/odassl/odassl.pyf' running egg_info running build_src build_src building extension "assimulo.algebraic" sources building extension "assimulo.explicit_ode" sources building extension "assimulo.implicit_ode" sources building extension "assimulo.ode" sources building extension "assimulo.problem" sources building extension "assimulo.special_systems" sources building extension "assimulo.support" sources building extension "assimulo.solvers.euler" sources building extension "assimulo.lib.dopri5" sources target build/src.linux-x86_64-3.8/assimulo/thirdparty/hairer/dopri5module.c does not exist: Assuming dopri5module.c was generated with "build_src --inplace" command. error: 'assimulo/thirdparty/hairer/dopri5module.c' missing

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Installed packages are python 3.8, scipy 1.4.1, cython 0.29.14.

gbesancon commented 4 years ago

Any idea how to solve that issue ?

gglyptodon commented 4 years ago

Installing from pypi didn't work (appears to be due to missing .pyf files), but installing from this repo worked for me, e.g. :
pip install git+https://github.com/modelon-community/Assimulo@Assimulo-3.0

gbesancon commented 4 years ago

Thanks, I also tried to install on Linux using anaconda which allowed me to install assimulo 3.1

jschueller commented 6 months ago

same as #60, the download page should be updated