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

ASF subversion and git services commented on SINGA-325:
-------------------------------------------------------

Commit 6a162ad624272e42f54e4d921323dbe1adc766ab in incubator-singa's branch 
refs/heads/master from wangwei
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=6a162ad ]

SINGA-325 - Fix the bug of numpy version mis-match

update tool/conda/meta.yaml for the versions of dependent libs for compilation 
and running.
update the FAQ for 'No module named _singa_wrap'


> 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