Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DF383200B8E for ; Mon, 26 Sep 2016 15:14:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DDBE3160AC8; Mon, 26 Sep 2016 13:14:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2F171160AB8 for ; Mon, 26 Sep 2016 15:14:29 +0200 (CEST) Received: (qmail 48045 invoked by uid 500); 26 Sep 2016 13:14:28 -0000 Mailing-List: contact dev-help@singa.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.incubator.apache.org Delivered-To: mailing list dev@singa.incubator.apache.org Received: (qmail 48035 invoked by uid 99); 26 Sep 2016 13:14:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2016 13:14:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 06B6CC1ACF for ; Mon, 26 Sep 2016 13:14:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.124 X-Spam-Level: X-Spam-Status: No, score=-5.124 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.124] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hV90iPzFMbGa for ; Mon, 26 Sep 2016 13:14:23 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id BFD8C5F253 for ; Mon, 26 Sep 2016 13:14:22 +0000 (UTC) Received: (qmail 45327 invoked by uid 99); 26 Sep 2016 13:14:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2016 13:14:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7C4432C002D for ; Mon, 26 Sep 2016 13:14:20 +0000 (UTC) Date: Mon, 26 Sep 2016 13:14:20 +0000 (UTC) From: "Xiangrui (JIRA)" To: dev@singa.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SINGA-250) ImportError: No module named _singa_wrap MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 26 Sep 2016 13:14:30 -0000 Xiangrui created SINGA-250: ------------------------------ Summary: ImportError: No module named _singa_wrap Key: SINGA-250 URL: https://issues.apache.org/jira/browse/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) =E2=9E=9C ~ pip install --upgrade http://comp.nus.edu.sg/~dbsyst= em/singa/assets/file/pb2.6/singa-1.0.0-cp27-none-linux_x86_64.whl Collecting singa=3D=3D1.0.0 from http://comp.nus.edu.sg/~dbsystem/singa/ass= ets/file/pb2.6/singa-1.0.0-cp27-none-linux_x86_64.whl Downloading http://comp.nus.edu.sg/~dbsystem/singa/assets/file/pb2.6/sing= a-1.0.0-cp27-none-linux_x86_64.whl (6.7MB) 100% |=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= | 6.7MB 10.1MB/s=20 Requirement already up-to-date: protobuf<3,>=3D2.5.0 in ./pysinga/lib/pytho= n2.7/site-packages (from singa=3D=3D1.0.0) Requirement already up-to-date: numpy>=3D1.11.0 in ./pysinga/lib/python2.7/= site-packages (from singa=3D=3D1.0.0) Requirement already up-to-date: setuptools in ./pysinga/lib/python2.7/site-= packages (from protobuf<3,>=3D2.5.0->singa=3D=3D1.0.0) Installing collected packages: singa Successfully installed singa-1.0.0 (pysinga) =E2=9E=9C ~ python Python 2.7.12 (default, Jul 1 2016, 15:12:24)=20 [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 "", line 1, in File "/home/xr/pysinga/local/lib/python2.7/site-packages/singa/layer.py",= line 44, in from . import singa_wrap File "/home/xr/pysinga/local/lib/python2.7/site-packages/singa/singa_wrap= .py", line 21, in _singa_wrap =3D swig_import_helper() File "/home/xr/pysinga/local/lib/python2.7/site-packages/singa/singa_wrap= .py", line 20, in swig_import_helper return importlib.import_module('_singa_wrap') File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_modul= e __import__(name) ImportError: No module named _singa_wrap >>> quit() (pysinga) =E2=9E=9C ~ ldd pysinga/lib/python2.7/site-packages/singa/_singa= _wrap.so =20 =09linux-vdso.so.1 =3D> (0x00007fffef39a000) =09libprotobuf.so.9 =3D> /usr/lib/x86_64-linux-gnu/libprotobuf.so.9 (0x0000= 7f9baddca000) =09libpthread.so.0 =3D> /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9bad= bac000) =09libopenblas.so.0 =3D> /usr/lib/libopenblas.so.0 (0x00007f9babb18000) =09libpython2.7.so.1.0 =3D> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (= 0x00007f9bab58a000) =09libstdc++.so.6 =3D> /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9b= ab208000) =09libm.so.6 =3D> /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9baaefe000) =09libgcc_s.so.1 =3D> /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9baace80= 00) =09libc.so.6 =3D> /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9baa91f000) =09libz.so.1 =3D> /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9baa704000) =09/lib64/ld-linux-x86-64.so.2 (0x000055a6546f1000) =09libgfortran.so.3 =3D> /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x0000= 7f9baa3d9000) =09libdl.so.2 =3D> /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9baa1d5000) =09libutil.so.1 =3D> /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f9ba9fd1000= ) =09libquadmath.so.0 =3D> /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x0000= 7f9ba9d92000) -- This message was sent by Atlassian JIRA (v6.3.4#6332)