Bug 1013881

Summary: installing numpy
Product: OpenShift Online Reporter: Jdash <jdash99>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.xCC: thomas.belahi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-11 18:35:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jdash 2013-10-01 01:42:00 UTC
Description of problem:

Can't install numpy with setup.py configuration

I'm doing something like this to install numpy:

from setuptools import setup
 
setup(name='InvSim',
      version='1.0',
      description='Inventory Simulation App',
      author='Jdash99',
      author_email='',
      url='http://www.python.org/sigs/distutils-sig/',
      install_requires=['numpy'],
      )

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1. Add numpy dependency in setup.py
2. push changes
3. 

Actual results:

remote: Installed /var/lib/openshift/523f9b0a500446bb97000046/app-root/runtime/repo
remote: Processing dependencies for InvSim==1.0
remote: Searching for numpy
remote: Reading http://mirror1.ops.rhcloud.com/mirror/python/web/simple/numpy/
remote: Best match: numpy 1.7.1
remote: Downloading http://mirror1.ops.rhcloud.com/mirror/python/web/packages/source/n/numpy/numpy-1.7.1.zip#md5=9a72db3cad7a6286c0d22ee43ad9bc6c
remote: Processing numpy-1.7.1.zip
remote: Writing /tmp/easy_install-2oQi9s/numpy-1.7.1/setup.cfg
remote: Running numpy-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-2oQi9s/numpy-1.7.1/egg-dist-tmp-LdzwMP
remote: Running from numpy source directory.
remote: Warning: distutils distribution has been initialized, it may be too late to add a subpackage commandWarning: distutils distribution has been initialized, it may be too late to add a subpackage fcompilerWarning: distutils distribution has been initialized, it may be too late to add a subpackage distutilsWarning: distutils distribution has been initialized, it may be too late to add a subpackage testing/bin/sh: svnversion: command not found
remote: Warning: distutils distribution has been initialized, it may be too late to add a subpackage f2pyWarning: distutils distribution has been initialized, it may be too late to add an extension _dummyWarning: distutils distribution has been initialized, it may be too late to add a library npysortWarning: distutils distribution has been initialized, it may be too late to add an extension multiarrayWarning: distutils distribution has been initialized, it may be too late to add an extension umathWarning: distutils distribution has been initialized, it may be too late to add an extension scalarmathnon-existing path in 'numpy/distutils': 'site.cfg'

Expected results:
Numpy installed and working


Additional info:

I'm using numpy and pandas without problem in my local machine and also the example in the tutorial https://www.openshift.com/blogs/build-your-app-on-openshift-using-flask-sqlalchemy-and-postgresql-92 worked well.

Comment 1 Jdash 2013-10-01 01:46:10 UTC
I also posted this problem in the openshift forum https://www.openshift.com/forums/openshift/installing-numpy-and-pandas-with-openshift#comment-form

Comment 2 thomas.belahi 2013-10-02 13:08:24 UTC
I tried the workaround proposed there https://www.openshift.com/forums/openshift/installing-numpy-and-pandas-with-openshift#comment-form

It does not work. There are so many error messages and warnings that it can be reproduced here.

Comment 3 Jhon Honce 2013-10-11 18:35:56 UTC

*** This bug has been marked as a duplicate of bug 1015722 ***