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

Lewis John McGibbney commented on CLIMATE-766:
----------------------------------------------

There are a number of issues here, namely
 * #1/bin/bash needs to be added back to the top of the install-ubuntu.sh script
 * the installation starts to go a bit nasty when the terminal is not closed 
and refreshed to take the new Miniconda2 installation into consideration. This 
results in the conda command not being recognized and these dependencies not 
being installed. This is an issue which we need to address!
{code}
Installing dependencies via conda
 -  Reading and installing from ocw-conda-dependencies.txt
./install-ubuntu.sh: line 173: conda: command not found
      done

Installing additional Python packages
 -  Reading and installing from ocw-pip-dependencies.txt
Traceback (most recent call last):
  File "/usr/local/climate/easy-ocw/venv-ocw/bin/pip", line 11, in <module>
    sys.exit(main())
  File 
"/usr/local/climate/easy-ocw/venv-ocw/local/lib/python2.7/site-packages/pip/__init__.py",
 line 185, in main
    return command.main(cmd_args)
  File 
"/usr/local/climate/easy-ocw/venv-ocw/local/lib/python2.7/site-packages/pip/basecommand.py",
 line 161, in main
    text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: 
ordinal not in range(128)
      done

Installing ocw module
warning: no files found matching 'distribute_setup.py'
warning: no files found matching '*.txt' under directory 'docs'
      finished installing ocw module

Installation completed. Please close the terminal and start to new one for the 
changes to take effect

For any issues with installation please contact dev@climate.apache.org

{code}

> Easy-ocw/install-ubuntu.sh script is broken
> -------------------------------------------
>
>                 Key: CLIMATE-766
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-766
>             Project: Apache Open Climate Workbench
>          Issue Type: Improvement
>         Environment: Ubuntu-14.04
>            Reporter: Ibrahim Jarif
>            Assignee: Ibrahim Jarif
>             Fix For: 1.2
>
>
> The install-ubuntu.sh script is broken. There are multiple issues
> 1. Missing dependencies: Even after running the script there are multiple 
> missing dependency errors. The script also does not install 'numpy' which is 
> required.
> 2. Multiple install_logs : The script create log file in whichever directory 
> it is in. 
> 3. The script does not install the climate module (by executing 'python 
> setup.py install')
>  
> 4. The script does not install dependencies via anaconda. That means modules 
> 'h5py', 'netcdf4', etc are not installed which are required.



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

Reply via email to