wangwei created SINGA-325:
-----------------------------

             Summary: Fix the bug of numpy version mis-match
                 Key: SINGA-325
                 URL: https://issues.apache.org/jira/browse/SINGA-325
             Project: Singa
          Issue Type: Bug
            Reporter: wangwei
            Assignee: wangwei


The conda package of singa is compiled with numpy and other dependent libs 
specified in tool/conda/meta.yaml. The versions of these packages are not 
fixed. For example,  numpy >=1.10. 
There would be a problem if the numpy version = 1.13 on the compilation machine 
and numpy version = 1.10 on the running machine. In particular, the error is 
"RuntimeError: module compiled against API version 0xb but this version of 
numpy is 0xa". To resolve this error, we fix the numpy version for compilation 
and use >= for the running version. In other words, 
{code}
requirements:
  build:
    - python 2.7*
    - numpy 1.10
    - swig 3.0
    - openblas 0.2.10
    - protobuf 3.0.0
    - glog 0.3.4
    - gcc 4.8.5 # [linux]

  run:
    - python 2.7*
    - numpy >=1.10
    - protobuf >=3.0.0
    - glog >=0.3.4
    - openblas >=0.2.10
    - flask >=0.10.1
    - flask-cors >=3.0.2
    - pillow >=2.3.0
    - libgcc 4.8.5 # [linux]
{code}.

The FAQ of installation page is updated in this ticket.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to