landlab / tutorials

Landlab tutorials
16 stars 30 forks source link

Running tests locally #22

Open SiccarPoint opened 6 years ago

SiccarPoint commented 6 years ago

I don't appear to be able to run the tests locally using the unix script (or the python script come to that, as the error below indicates). The shell script throws:

Traceback (most recent call last):
Traceback (most recent call last):
  File "./run_notebook.py", line 14, in <module>
  File "./run_notebook.py", line 14, in <module>
    from scripting.unix import system, check_output
    from scripting.unix import system, check_output
ImportError: ImportErrorNo module named scripting.unix: 
No module named scripting.unix

I tried conda install scripting, but it claimed such a package doesn't exist.

What's up here? I should note I'm running zsh, not bash, if that's relevant.

mcflugen commented 6 years ago

Oops. Sorry. You need to install the scripting package. Try,

$ conda install scripting -c csdms-stack

and then try running run_notebook.py.