Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-761

Error in easy-ocw install-ubuntu Basemap stage

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: easy-ocw
    • Labels:
      None

      Description

      When installing easy-ocw via the ubuntu script, I get the following

       -  Installing Basemap ...
      Traceback (most recent call last):
        File "setup.py", line 1, in <module>
          import sys, glob, os, numpy, subprocess
      ImportError: No module named numpy
            done
      

      N.B. please note from the log below, when prompted "Press [Yy] to begin installation with the flag -e [RECOMMENDED] [OR] Press [Nn] to continue with the normal installation..." I pressed Y

      It looks like the anaconda installation of numpy is not being registered before we install Basemap. For reference the entire installation log is printed below.

      lewismc@ocw-vm:/usr/local/climate/easy-ocw$ sudo ./install-ubuntu.sh
      
      ---------------------------------------------------------------------------
                               Welcome to Easy OCW
      ---------------------------------------------------------------------------
      
      A number of dependencies for OCW will now be installed. Please check the wiki
      for a complete list of dependencies. Additionally, please read the wiki for
      useful installation guidelines and information that may be pertinent to your
      situation. All of this can be found at http://s.apache.org/3p2
      
      <-----------------------------[WARNING!]----------------------------------->
      It is highly recommended that you allow Easy OCW to install the dependencies
      into a virtualenv environment to ensure that your global Python install is
      not affected. If you're UNSURE, you should pass the -e flag
      to this script. If you aren't concerned, or you want to create your own
      virtualenv environment, then feel free to ignore this message.
      
      Press [Yy] to begin installation with the flag -e [RECOMMENDED]
      [OR]
      Press [Nn] to continue with the normal installation...Y
      Please specify a full path to where your OCW download is then press [ENTER] .../usr/local/climate
      
      Checking for pip ...
      
      Setting up a virtualenv ...
       -  Installing virtualenv ...
            done
       -  Creating a new environment ...
            done
      
      Installing Anaconda Python distribution ...
      
      *** NOTE *** When asked to update your PATH, you should respond YES.
      Press [ENTER] to continue ...
       -  Downloading Anaconda ...
            done
       -  Installing ...
      
      Welcome to Anaconda 1.9.2 (by Continuum Analytics, Inc.)
      
      In order to continue the installation process, please review the license
      agreement.
      Please, press ENTER to continue
      >>>
      ===================================
      Anaconda END USER LICENSE AGREEMENT
      ===================================
      Anaconda ("the Software Product") and accompanying documentation is
      licensed and not sold. The Software Product is protected by copyright laws
      and treaties, as well as laws and treaties related to other forms of
      intellectual property. Continuum Analytics Inc or its subsidiaries,
      affiliates, and suppliers (collectively "Continuum ") own intellectual
      property rights in the Software Product. The Licensee's ("you" or "your")
      license to download, use, copy, or change the Software Product is subject
      to these rights and to all the terms and conditions of this End User
      License Agreement ("Agreement").
      
      In addition to Continuum-licensed software, the Software product contains a
      collection of software packages from other sources ("Other Vendor Tools").
      Continuum may also distribute updates to these packages on an "as is" basis
      and subject to their individual license agreements.   These licenses are
      available either in the package itself or via request to info@continuum.io.
      Continuum reserves the right to change which Other Vendor Tools are
      provided in Anaconda.
      
      Attribution License
      ===================
      Redistribution and derivative use of Anaconda, with or without
      modification, in source or binary form is explicitly permitted provided
      that:
      
      1. You include a copy of this EULA in all copies of the derived software.
      2. In advertising and labeling material for products built with Anaconda
      you mention that your product either includes or derives from Anaconda.
      "Powered by Anaconda" is the suggested phrase.
      
      
      Export Regulations
      ==================
      Any use or distribution of Anaconda is made under conditions that the user
      and/or distributor is in full compliance with all export and other
      governing laws of the United States of America, including full and ongoing
      compliance with the Export Administration Regulations (EAR) of the United
      States Department of Commerce. See www.commerce.gov/ and
      http://www.bis.doc.gov/index.php/regulations/export-administration-
      regulations-ear.  Use or distribution of Continuum software products to any
      persons, entities or countries currently under US sanctions is strictly
      prohibited.   Anaconda is classified with an ECCN of 5D992 with no license
      required for export to non-embargoed countires.
      
      The United States currently has embargoes against Cuba, Iran, North Korea,
      Sudan and Syria. The exportation, re-exportation, sale or supply, directly
      or indirectly, from the United States, or by a U.S. person wherever
      located, of any Continuum software to any of these countries is strictly
      prohibited without prior authorization by the United States Government  By
      accepting this Agreement, you represent to Continuum that you will comply
      with all applicable export regulations for Anaconda.
      
      No Implied Warranty or Fitness for Any Use
      ==========================================
      THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
      IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
      ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
      LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
      CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
      SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
      INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
      CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
      POSSIBILITY OF SUCH DAMAGE
      
      Do you approve the license terms? [yes|no]
      [no] >>> yes
      
      Anaconda will now be installed into this location:
      /home/lewismc/anaconda
      
        - Press ENTER to confirm the location
        - Press CTRL-C to abort the installation
        - Or specify an different location below
      
      [/home/lewismc/anaconda] >>> /usr/local/anaconda
      PREFIX=/usr/local/anaconda
      installing: python-2.7.6-1 ...
      installing: conda-3.4.1-py27_0 ...
      installing: conda-build-1.3.1-py27_0 ...
      installing: _license-1.1-py27_0 ...
      installing: apptools-4.2.1-py27_0 ...
      installing: argcomplete-0.6.7-py27_0 ...
      installing: astropy-0.3.0-np18py27_0 ...
      installing: atom-0.3.7-py27_0 ...
      installing: beautiful-soup-4.3.1-py27_0 ...
      installing: binstar-0.4.4-py27_1 ...
      installing: biopython-1.63-np18py27_0 ...
      installing: bitarray-0.8.1-py27_0 ...
      installing: blaze-0.4.2-np18py27_0 ...
      installing: blz-0.6.1-np18py27_0 ...
      installing: bokeh-0.4.1-np18py27_0 ...
      installing: boto-2.25.0-py27_0 ...
      installing: cairo-1.12.2-2 ...
      installing: casuarius-1.1-py27_0 ...
      installing: cdecimal-2.3-py27_0 ...
      installing: chaco-4.4.1-np18py27_0 ...
      installing: colorama-0.2.7-py27_0 ...
      installing: configobj-4.7.2-py27_0 ...
      installing: cubes-0.10.2-py27_4 ...
      installing: curl-7.30.0-0 ...
      installing: cython-0.20.1-py27_0 ...
      installing: datashape-0.1.1-np18py27_0 ...
      installing: dateutil-2.1-py27_2 ...
      installing: disco-0.4.4-py27_0 ...
      installing: docutils-0.11-py27_0 ...
      installing: dynd-python-0.6.1-np18py27_0 ...
      installing: enable-4.3.0-np18py27_1 ...
      installing: enaml-0.9.1-py27_0 ...
      installing: envisage-4.4.0-py27_1 ...
      installing: erlang-R15B01-0 ...
      installing: flask-0.10.1-py27_1 ...
      installing: freetype-2.4.10-0 ...
      installing: future-0.11.2-py27_0 ...
      installing: gevent-1.0-py27_0 ...
      installing: gevent-websocket-0.9.2-py27_0 ...
      installing: gevent_zeromq-0.2.5-py27_3 ...
      installing: greenlet-0.4.2-py27_0 ...
      installing: grin-1.2.1-py27_1 ...
      installing: h5py-2.2.1-np18py27_0 ...
      installing: hdf5-1.8.9-1 ...
      installing: ipython-1.1.0-py27_0 ...
      installing: ipython-notebook-1.1.0-py27_1 ...
      installing: ipython-qtconsole-1.1.0-py27_1 ...
      installing: itsdangerous-0.23-py27_0 ...
      installing: jinja2-2.7.2-py27_0 ...
      installing: jpeg-8d-0 ...
      installing: keyring-3.3-py27_0 ...
      installing: kiwisolver-0.1.2-py27_0 ...
      installing: launcher-0.1.2-py27_0 ...
      installing: libdynd-0.6.1-0 ...
      installing: libnetcdf-4.2.1.1-1 ...
      installing: libpng-1.5.13-1 ...
      installing: libsodium-0.4.5-0 ...
      installing: libtiff-4.0.2-0 ...
      installing: libxml2-2.9.0-0 ...
      installing: libxslt-1.1.28-0 ...
      installing: llvm-3.3-0 ...
      installing: llvmpy-0.12.3-py27_0 ...
      installing: lxml-3.3.1-py27_0 ...
      installing: markupsafe-0.18-py27_0 ...
      installing: matplotlib-1.3.1-np18py27_0 ...
      installing: mayavi-4.3.1-np18py27_0 ...
      installing: mdp-3.3-np18py27_0 ...
      installing: mock-1.0.1-py27_0 ...
      installing: mpi4py-1.3-py27_0 ...
      installing: mpich2-1.4.1p1-0 ...
      installing: netcdf4-1.0.8-np18py27_0 ...
      installing: networkx-1.8.1-py27_0 ...
      installing: nltk-2.0.4-np18py27_0 ...
      installing: nose-1.3.0-py27_0 ...
      installing: numba-0.12.1-np18py27_0 ...
      installing: numexpr-2.3.1-np18py27_0 ...
      installing: numpy-1.8.0-py27_0 ...
      installing: opencv-2.4.6-np18py27_0 ...
      installing: openpyxl-1.8.2-py27_1 ...
      installing: openssl-1.0.1g-0 ...
      installing: pandas-0.13.1-np18py27_0 ...
      installing: patsy-0.2.1-np18py27_0 ...
      installing: pep8-1.4.6-py27_0 ...
      installing: pil-1.1.7-py27_0 ...
      installing: pip-1.5.2-py27_0 ...
      installing: pixman-0.26.2-0 ...
      installing: ply-3.4-py27_0 ...
      installing: psutil-1.2.1-py27_0 ...
      installing: py-1.4.20-py27_0 ...
      installing: py2cairo-1.10.0-py27_1 ...
      installing: pycosat-0.6.0-py27_0 ...
      installing: pycparser-2.10-py27_0 ...
      installing: pycrypto-2.6.1-py27_0 ...
      installing: pycurl-7.19.0-py27_2 ...
      installing: pyface-4.4.0-py27_0 ...
      installing: pyflakes-0.7.3-py27_0 ...
      installing: pygments-1.6-py27_0 ...
      installing: pykit-0.2.0-np18py27_0 ...
      installing: pyparsing-2.0.1-py27_0 ...
      installing: pysal-1.6.0-np18py27_1 ...
      installing: pysam-0.6-py27_0 ...
      installing: pyside-1.2.1-py27_0 ...
      installing: pytables-3.1.0-np18py27_0 ...
      installing: pytest-2.5.2-py27_0 ...
      installing: pytz-2013b-py27_0 ...
      installing: pyyaml-3.10-py27_0 ...
      installing: pyzmq-2.2.0.1-py27_1 ...
      installing: qt-4.8.5-0 ...
      installing: readline-6.2-2 ...
      installing: redis-2.6.9-0 ...
      installing: redis-py-2.9.1-py27_0 ...
      installing: requests-2.2.1-py27_0 ...
      installing: rope-0.9.4-py27_0 ...
      installing: scikit-image-0.9.3-np18py27_0 ...
      installing: scikit-learn-0.14.1-np18py27_1 ...
      installing: scipy-0.13.3-np18py27_0 ...
      installing: setuptools-2.2-py27_0 ...
      installing: shiboken-1.2.1-py27_0 ...
      installing: six-1.5.2-py27_0 ...
      installing: sphinx-1.2.1-py27_0 ...
      installing: spyder-2.2.5-py27_0 ...
      installing: spyder-app-2.2.5-py27_1 ...
      installing: sqlalchemy-0.9.2-py27_0 ...
      installing: sqlite-3.7.13-0 ...
      installing: ssl_match_hostname-3.4.0.2-py27_0 ...
      installing: statsmodels-0.5.0-np18py27_0 ...
      installing: sympy-0.7.4.1-py27_0 ...
      installing: system-5.8-1 ...
      installing: theano-0.6.0-np18py27_0 ...
      installing: tk-8.5.13-0 ...
      
      ▽
      installing: tornado-3.2.0-py27_0 ...
      installing: traits-4.4.0-py27_0 ...
      installing: traitsui-4.4.0-py27_0 ...
      installing: ujson-1.33-py27_0 ...
      installing: util-linux-2.21-0 ...
      installing: vtk-5.10.1-py27_1 ...
      installing: werkzeug-0.9.4-py27_0 ...
      installing: xlrd-0.9.2-py27_0 ...
      installing: xlsxwriter-0.5.2-py27_0 ...
      installing: xlwt-0.7.5-py27_0 ...
      installing: yaml-0.1.4-0 ...
      installing: zeromq-2.2.0-1 ...
      installing: zlib-1.2.7-0 ...
      installing: anaconda-1.9.2-np18py27_0 ...
      installing: _cache-0.0-x0 ...
      Python 2.7.6 :: Continuum Analytics, Inc.
      creating default environment...
      installation finished.
      Do you wish the installer to prepend the Anaconda install location
      to PATH in your /home/lewismc/.bashrc ? [yes|no]
      [no] >>> yes
      
      Prepending PATH=/usr/local/anaconda/bin to PATH in /home/lewismc/.bashrc
      A backup will be made to: /home/lewismc/.bashrc-anaconda.bak
      
      
      For this change to become active, you have to open a new terminal.
      
      Thank you for installing Anaconda!
            done
      
      Handling Basemap install ...
       -  Downloading basemap ...
            done
       -  Installing GEOS dependency ...
      libtool: install: warning: relinking `libgeos_c.la'
            done
       -  Installing Basemap ...
      Traceback (most recent call last):
        File "setup.py", line 1, in <module>
          import sys, glob, os, numpy, subprocess
      ImportError: No module named numpy
            done
      
      Installing additional Python packages
      
      Updating PYTHONPATH with ocw executables ...
            done
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lewismc Lewis John McGibbney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: