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

installing clawpack ubuntu #517

Open
jeeckman opened this issue Jul 5, 2021 · 3 comments
Open

installing clawpack ubuntu #517

jeeckman opened this issue Jul 5, 2021 · 3 comments

Comments

@jeeckman
Copy link

jeeckman commented Jul 5, 2021

Hello,
I have a problem installing Clawpack on my linux.
I have followed the process given here: https://www.clawpack.org/installing.html
(i've tried with pip, git or .tar solution, all give the same trouble)
I fixed the correct CLAW and FC variables.

Testing pyclaw with nosetest returns me OK so it's good. But when I when to run the first test euler_2d, i've a python error in setrun.py:
File "setrun.py", line 28, in setrun
from clawpack.clawutil import data

Same, in classic/tests, nosetests -sv returns me OK.
In classic/examples/acoustics_1d_example1,
make. exe correctly creates xclaw, but make .data returns the python error:
File "setrun.py", line 28, in setrun
from clawpack.clawutil import data

Any idea of the problem?
Thank you,
J.

@mandli
Copy link
Member

mandli commented Jul 6, 2021

Hi @jeeckman. Can you import clawpack.clawutil.data from a Python command line?

@jeeckman
Copy link
Author

jeeckman commented Jul 7, 2021

from a Python prompt:

import clawpack.clawutil.data
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named clawpack.clawutil.data

@mandli
Copy link
Member

mandli commented Jul 7, 2021

If Python cannot see the modules from the Python prompt this usually implies that the installation of clawpack was installed into an alternate version of Python. Do you know if you have multiple versions of Python on your machine? Anaconda for instance may cause this.

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

2 participants