I~...clawpack/pyclaw/examples % ipythonPython 2.7.10 |Anaconda 2.1.0 (x86_64)| (default, May 28 2015, 17:04:42)Type "copyright", "credits" or "license" for more information.IPython 2.2.0 -- An enhanced Interactive Python.Anaconda is brought to you by Continuum Analytics.Please check out: http://continuum.io/thanks and https://binstar.org? -> Introduction and overview of IPython's features.%quickref -> Quick reference.help -> Python's own help system.object? -> Details about 'object', use 'object??' for extra details.In [1]: from clawpack.pyclaw import examples---------------------------------------------------------------------------ImportError Traceback (most recent call last)<ipython-input-1-896ab9d6645e> in <module>()----> 1 from clawpack.pyclaw import examples/Users/calhoun/clawpack5.0/clawpack/clawpack/pyclaw/examples/__init__.py in <module>()----> 1 from advection_1d import advection_1d2 from acoustics_1d_homogeneous import acoustics_1d3 from acoustics_2d_homogeneous import acoustics_2d4 from acoustics_2d_variable import acoustics_2d_interface5 from acoustics_3d_variable import acoustics_3d_interface/Users/calhoun/clawpack5.0/clawpack/clawpack/pyclaw/examples/advection_1d/advection_1d.py in <module>()18 """19 import numpy as np---> 20 from clawpack import riemann2122 def setup(nx=100, kernel_language='Python', use_petsc=False, solver_type='classic', weno_order=5,ImportError: cannot import name riemann
In [1]: import clawpack.pyclawIn [2]: import clawpack.classicIn [3]: import clawpack.amrclawIn [4]: import clawpack.geoclawIn [5]: import clawpack.riemann
---------------------------------------------------------------------------ImportError Traceback (most recent call last)
<ipython-input-5-25eb45a7cf10> in <module>()----> 1 import clawpack.riemannImportError: No module named riemann
In [1]: import clawpackIn [2]: print clawpack.__path__['/Users/calhoun/clawpack5.0/clawpack/clawpack']In [3]:Do you really want to exit ([y]/n)? y~ % ls /Users/calhoun/clawpack5.0/clawpack/clawpack__init__.py classic@ petclaw@ setup.py version.pyc__init__.pyc clawutil@ pyclaw@ setup.pyc visclaw@amrclaw@ geoclaw@ riemann@ version.py
~ % ls /Users/calhoun/clawpack5.0/clawpack/riemannREADME.md rptest/ src/
~ % ls /Users/calhoun/clawpack5.0/clawpack/riemannREADME.md rptest/ src/
And I’ll add :~ % ls /Users/calhoun/clawpack5.0/clawpack/clawpack/riemann/Users/calhoun/clawpack5.0/clawpack/clawpack/riemann@
~ % ls -lh /Users/calhoun/clawpack5.0/clawpack/clawpack/riemannlrwxr-xr-x 1 calhoun staff 62B Dec 10 2013 /Users/calhoun/clawpack5.0/clawpack/clawpack/riemann@ -> /Users/calhoun/clawpack5.0/clawpack/riemann/src/python/riemann
~ % ls /Users/calhoun/clawpack5.0/clawpack/riemann/src/python/riemannsrc@
~ % ls /Users/calhoun/clawpack5.0/clawpack/riemann/src/python/riemann/src/Users/calhoun/clawpack5.0/clawpack/riemann/src/python/riemann/src@
~ % ls -lh /Users/calhoun/clawpack5.0/clawpack/riemann/src/python/riemann/srclrwxr-xr-x 1 calhoun staff 47B Dec 10 2013 /Users/calhoun/clawpack5.0/clawpack/riemann/src/python/riemann/src@ -> /Users/calhoun/clawpack5.0/clawpack/riemann/src
~ % ls -lh /Users/calhoun/clawpack5.0/clawpack/riemann/srctotal 1992-rwxr-xr-x 1 calhoun staff 2.8K Aug 30 21:27 __init__.py*-rw-r--r-- 1 calhoun staff 3.6K Aug 30 21:56 __init__.pyc-rw-r--r-- 1 calhoun staff 79B Dec 15 2014 acoustics_1D_constants.py.........
~/tmp/clawpack % ipython --no-bannerIn [1]: import clawpack.riemann********************************************************************Warning: Some Riemannn solvers were not able to be imported.Did you run "pip install" in your clawpack directory?Traceback (most recent call last):File "clawpack/riemann/__init__.py", line 52, in <module>import acoustics_1DImportError: No module named acoustics_1D********************************************************************
~/tmp/clawpack % pip installYou must give at least one requirement to install (see "pip help install")You are using pip version 7.1.0, however version 7.1.2 is available.You should consider upgrading via the 'pip install --upgrade pip' command.
~/tmp/clawpack % pip install -eUsage:pip install [options] <requirement specifier> [package-index-options] ...pip install [options] -r <requirements file> [package-index-options] ...pip install [options] [-e] <vcs project url> ...pip install [options] [-e] <local project path> ...pip install [options] <archive url/path> ...-e option requires an argument
~/tmp/clawpack % pip --versionpip 7.1.2 from //anaconda/lib/python2.7/site-packages (python 2.7)
To unsubscribe from this group and stop receiving emails from it, send an email to claw-users+un...@googlegroups.com.
To post to this group, send email to claw-...@googlegroups.com.
Visit this group at http://groups.google.com/group/claw-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "claw-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to claw-users+un...@googlegroups.com.