singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui (JIRA)" <>
Subject [jira] [Created] (SINGA-250) ImportError: No module named _singa_wrap
Date Mon, 26 Sep 2016 13:14:20 GMT
Xiangrui created SINGA-250:

             Summary: ImportError: No module named _singa_wrap
                 Key: SINGA-250
             Project: Singa
          Issue Type: Bug
            Reporter: Xiangrui

I have installed singa from wheel in virtualenv successfully. But I find an error when I try
to execute "from singa import layer". Here is the details:

(pysinga) ➜  ~ pip install --upgrade
Collecting singa==1.0.0 from
    100% |████████████████████████████████|
6.7MB 10.1MB/s 
Requirement already up-to-date: protobuf<3,>=2.5.0 in ./pysinga/lib/python2.7/site-packages
(from singa==1.0.0)
Requirement already up-to-date: numpy>=1.11.0 in ./pysinga/lib/python2.7/site-packages
(from singa==1.0.0)
Requirement already up-to-date: setuptools in ./pysinga/lib/python2.7/site-packages (from
Installing collected packages: singa
Successfully installed singa-1.0.0
(pysinga) ➜  ~ python
Python 2.7.12 (default, Jul  1 2016, 15:12:24) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from singa import layer
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/xr/pysinga/local/lib/python2.7/site-packages/singa/", line 44, in <module>
    from . import singa_wrap
  File "/home/xr/pysinga/local/lib/python2.7/site-packages/singa/", line 21,
in <module>
    _singa_wrap = swig_import_helper()
  File "/home/xr/pysinga/local/lib/python2.7/site-packages/singa/", line 20,
in swig_import_helper
    return importlib.import_module('_singa_wrap')
  File "/usr/lib/python2.7/importlib/", line 37, in import_module
ImportError: No module named _singa_wrap
>>> quit()
(pysinga) ➜  ~ ldd pysinga/lib/python2.7/site-packages/singa/            
                                     =>  (0x00007fffef39a000) => /usr/lib/x86_64-linux-gnu/ (0x00007f9baddca000) => /lib/x86_64-linux-gnu/ (0x00007f9badbac000) => /usr/lib/ (0x00007f9babb18000) => /usr/lib/x86_64-linux-gnu/ (0x00007f9bab58a000) => /usr/lib/x86_64-linux-gnu/ (0x00007f9bab208000) => /lib/x86_64-linux-gnu/ (0x00007f9baaefe000) => /lib/x86_64-linux-gnu/ (0x00007f9baace8000) => /lib/x86_64-linux-gnu/ (0x00007f9baa91f000) => /lib/x86_64-linux-gnu/ (0x00007f9baa704000)
	/lib64/ (0x000055a6546f1000) => /usr/lib/x86_64-linux-gnu/ (0x00007f9baa3d9000) => /lib/x86_64-linux-gnu/ (0x00007f9baa1d5000) => /lib/x86_64-linux-gnu/ (0x00007f9ba9fd1000) => /usr/lib/x86_64-linux-gnu/ (0x00007f9ba9d92000)

This message was sent by Atlassian JIRA

View raw message