[ 
https://issues.apache.org/jira/browse/CLIMATE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382615#comment-14382615
 ] 

Michael Joyce commented on CLIMATE-616:
---------------------------------------

Hi [~LauraBriley],

Looking through that page it looks like it's a bit out of date. Also, I'm 
surprised that you had to install netCDF4 manually. I believe that was included 
previously in Anaconda. Perhaps that has changed. I'll open a ticket here 
shortly to address some documentation issues there. In the mean time, let's 
work on getting your environment up and running.

If OCW is having import problems that most likely means that your PYTHONPATH 
needs to be set/updated. Assuming you're using bash since you're on OS X, can 
you add the following to the end your ~/.bashrc file

{code}
export PYTHONPATH=/Your/Path/To/climate/:/Your/Path/To/climate/ocw/:$PYTHONPATH
{code}

After that run 

{code}
source ~/.bashrc
{code}

and you should no longer have problems getting OCW to import. You can check by 
running Python and trying an import. If you get an error here then something is 
wrong still.

{code}
python
>>> import ocw.metrics as metrics
{code}

If all of this seems to work I suggest you try running one of the example/ 
scripts.

{code}
cd /Path/To/Your/climate
cd examples
python simple_model_to_model_bias.py
{code}

It should spit out a plot if all is working as expected. That should help us 
see if you're missing any other dependencies. Let me know how this goes and 
we'll move forward from there to get everything else sorted.

> missing dependencies
> --------------------
>
>                 Key: CLIMATE-616
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-616
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>          Components: build process
>         Environment: mac osx 10.9.5
>            Reporter: Laura Briley
>            Assignee: Michael Joyce
>
> I am following the instructions here 
> (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=31824167#InstallationofPython2.7,ModulesandOCWforMac/*nix-3.2InstallBottleandbasemaplibraries)
>  and when I go to start the server (end of step 5) I have been running into 
> errors.  The first was the netCDF4 was missing.  After installing that 
> separately I now get ImportError: No module named ocw.utils.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to