Skip to content
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

CalledProcessError when installing diffeqtorch #52044

Closed
Silentmoonlight opened this issue Nov 6, 2023 · 1 comment
Closed

CalledProcessError when installing diffeqtorch #52044

Silentmoonlight opened this issue Nov 6, 2023 · 1 comment

Comments

@Silentmoonlight
Copy link

Silentmoonlight commented Nov 6, 2023

Using
julia version 1.7.2
Python 3.8.0
when I try to install diffeqtorch by using python -c "from diffeqtorch.install import install_and_test; install_and_test()",something is wrong
Test Julia dependencies
Traceback (most recent call last):
File "", line 1, in
File "/home/zjh/anaconda/envs/py38/lib/python3.8/site-packages/diffeqtorch/install.py", line 25, in install_and_test
test_julia_deps()
File "/home/zjh/anaconda/envs/py38/lib/python3.8/site-packages/diffeqtorch/install.py", line 45, in test_julia_deps
output = subprocess.run(
File "/home/zjh/anaconda/envs/py38/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'export JULIA_PROJECT=/home/zjh/anaconda/envs/py38/lib/python3.8/site-packages/diffeqtorch/julia; julia -E 'using DifferentialEquations'' returned non-zero exit status 1.

I wonder how can I fix it.

and here is the output of versioninfo()
versioninfo()
Julia Version 1.7.2
Commit bf53498 (2022-02-06 15:21 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) Platinum 8358P CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, icelake-server)
Environment:
JULIA_SYSIMAGE_DIFFEQTORCH = /home/zjh/.julia_sysimage_diffeqtorch.so

Tasks

No tasks being tracked yet.
@PallHaraldsson
Copy link
Contributor

This seems to belong in Julia discourse, if not even some Python (project) discussion forum.

Note there's official SciML:
https://github.com/SciML/diffeqpy

that may work for your. I'm not sure if diffeqtorch is to do same or similar, but it seems like an unofficial project, and possibly harder to set up.

Also you should be using a supported version of Julia e.g. 1.9, though likely older should work. But I'm not sure about that.

@vchuravy vchuravy closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants