singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wangwei (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SINGA-422) ModuleNotFoundError: No module named '_singa_wrap'
Date Thu, 24 Jan 2019 06:40:00 GMT

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

wangwei commented on SINGA-422:
-------------------------------

I think it is because of the glibc version problem. [https://unix.stackexchange.com/a/45288]

If you run ldd miniconda3/lib/python3.6/site-packages/singa/_singa_wrap.so

You may see something like this:
miniconda3/lib/python3.6/site-packages/singa/_singa_wrap.so: /home/wangwei/miniconda3/lib/python3.6/site-packages/singa/../../../libstdc++.so.6:
version `GLIBCXX_3.4.20' not found (required by /home/wangwei/miniconda3/lib/python3.6/site-packages/singa/../../../libprotobuf.so.17)
miniconda3/lib/python3.6/site-packages/singa/_singa_wrap.so: /home/wangwei/miniconda3/lib/python3.6/site-packages/singa/../../../libstdc++.so.6:
version `CXXABI_1.3.8' not found (required by /home/wangwei/miniconda3/lib/python3.6/site-packages/singa/../../../libprotobuf.so.17)
miniconda3/lib/python3.6/site-packages/singa/_singa_wrap.so: /home/wangwei/miniconda3/lib/python3.6/site-packages/singa/../../../libstdc++.so.6:
version `CXXABI_1.3.9' not found (required by /home/wangwei/miniconda3/lib/python3.6/site-packages/singa/../../../libprotobuf.so.17)
miniconda3/lib/python3.6/site-packages/singa/_singa_wrap.so: /home/wangwei/miniconda3/lib/python3.6/site-packages/singa/../../../libstdc++.so.6:
version `GLIBCXX_3.4.21' not found (required by /home/wangwei/miniconda3/lib/python3.6/site-packages/singa/../../../libprotobuf.so.17)

 

We will fix it by recompiling the singa package shortly.

> ModuleNotFoundError: No module named '_singa_wrap'
> --------------------------------------------------
>
>                 Key: SINGA-422
>                 URL: https://issues.apache.org/jira/browse/SINGA-422
>             Project: Singa
>          Issue Type: Bug
>          Components: Application, Documentation, Module
>         Environment: Ubuntu16.04 and miniconda3
>            Reporter: Madhusudhana
>            Priority: Major
>              Labels: beginner, newbie
>         Attachments: Screenshot from 2019-01-23 18-46-27.png, Screenshot from 2019-01-24
12-01-23.png
>
>
> Hi,
>  After installing SINGA through _*conda install -c nusdbsystem singa-cpu*_
> if I execute _*python -c “from singa import tensor”*_
> to check if SINGA installed successfully, I am getting the following message:
> *ImportError: No module named singa*
> *--------------------------------------------------------------------------------------------*
> if I execute _*python3 -c “from singa import tensor”*_
> to check if SINGA installed successfully, I am getting the following message:
> *ModuleNotFoundError: No module named '_singa_wrap'*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message