-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JOSS: Issues installing #67
Comments
@arghdos, thank you for your thorough feedback on the installation issues. Right now for installation using pip I've taken an "all or nothing" approach (where Arguably I could extend what the "bare minimum" is (e.g. have it include also
|
@bjodah Ok, that helped a lot (the sundials version in particular was a hangup for me, as by default conda installs 3.x.x). Additionally, the -rs option is also helpful as it lists some other packages that might be missing in the setup dependencies (or possibly sub-dependencies?) -- The docker image is a great idea as well! Particularly for complicated mixed python / c packages I think it's critical to make the installation as well explained as possible, it's very easy (as we're showing here!) for small details to result in broken installs. Also an entry point into exploring the package / examples would be excellent. I still end up with failed tests however). It appears to be only for tests that require
which as far as I can tell should support c++14 as required for these examples, any thoughts here? |
@arghdos thanks. g++5.4 is new enough (that's the version I use myself). Looking at your latest failed test log I see:
this suggests that sundials' headers are not installed in any of the default include directories. One way to work around that is setting e.g. Regarding sundials-2.7.0 vs. 3.x: yes, right now I have now added both an Regarding EDIT: |
Aaahhh, I had missed that in the noise of the log. I had gotten pycvode to install correctly previously by passing the miniconda directories to pip but it makes sense that it needs them at compile time as well. I'll give that a shot |
@bjodah that did the trick (along with a LIBRARY_PATH to point the library search in the right direction). I'll give the docker a test as well, but I think this issue can be closed |
@bjodah I'm having some issues installing
pyodesys
for the JOSS review:First, let me note that installing the main package via conda worked without a hitch, pip not so much (but that's a more difficult nut to crack). However:
There needs to be a list of all dependencies that are needed to run tests / examples / etc. A lot of this can be inferred from either the setup.py or the other optional packages, but I tried that route and I'm still running into errors on tests / examples (more on this later). Preferably this list would be the docs, and there would be a link in the install section along the lines of "Optional Dependencies...". Even if this links to the various subpackages (e.g. pygslodeiv2) which then tell you how to install themselves, that would be an improvement.
This list needs to include any non-python packages required such that a pip install will be possible.
Conda is obviously an easier choice, but if you're going to offer pip installation I need to the base packages required. Again using pygslodeiv2 as an example, it's not immediately obvious where GSL should be installed to (other than "default" locations?). Or for odeint do I need Boost? ode-int itself?
Even with (I think) all the sub-dependencies installed, most of the tests skip and the examples give erros. My conda environment is here
e.g.: my test output:
Or running
chemical_kinetics.ipynb
:edit: link back to joss review:
openjournals/joss-reviews#490 (comment)
The text was updated successfully, but these errors were encountered: