You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/16 11:09:15 UTC

[GitHub] yitang opened a new issue #9100: Python - ImportError: cannot import name 'c_array_buf'

yitang opened a new issue #9100: Python - ImportError: cannot import name 'c_array_buf'
URL: https://github.com/apache/incubator-mxnet/issues/9100
 
 
   ## Description
   I installed mxnet using pip install mxnet-cu80==0.11.0 and I cannot use mxnet because of this error
   ```
   ImportError: cannot import name 'c_array_buf'
   ```
   
   ## Environment info (Required)
   ```
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  384.90  Tue Sep 19 19:17:35 PDT 2017
   GCC version:  gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) 
   
   
   nvcc: NVIDIA (R) Cuda compiler driver
   Copyright (c) 2005-2016 NVIDIA Corporation
   Built on Sun_Sep__4_22:14:01_CDT_2016
   Cuda compilation tools, release 8.0, V8.0.44
   
   
   ----------Python Info----------
   Version      : 3.6.3
   Compiler     : GCC 7.2.0
   Build        : ('default', 'Oct 13 2017 12:02:49')
   Arch         : ('64bit', '')
   ------------Pip Info-----------
   Version      : 9.0.1
   Directory    : /home/yitang/anaconda3/lib/python3.6/site-packages/pip
   ----------MXNet Info-----------
   No MXNet installed.
   ----------System Info----------
   Platform     : Linux-4.10.0-42-generic-x86_64-with-debian-stretch-sid
   system       : Linux
   node         : yitang-MS-7971
   release      : 4.10.0-42-generic
   version      : #46-Ubuntu SMP Mon Dec 4 14:38:01 UTC 2017
   ----------Hardware Info----------
   machine      : x86_64
   processor    : x86_64
   Architecture:          x86_64
   CPU op-mode(s):        32-bit, 64-bit
   Byte Order:            Little Endian
   CPU(s):                4
   On-line CPU(s) list:   0-3
   Thread(s) per core:    1
   Core(s) per socket:    4
   Socket(s):             1
   NUMA node(s):          1
   Vendor ID:             GenuineIntel
   CPU family:            6
   Model:                 94
   Model name:            Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
   Stepping:              3
   CPU MHz:               3770.874
   CPU max MHz:           3900.0000
   CPU min MHz:           800.0000
   BogoMIPS:              7008.00
   Virtualisation:        VT-x
   L1d cache:             32K
   L1i cache:             32K
   L2 cache:              256K
   L3 cache:              6144K
   NUMA node0 CPU(s):     0-3
   Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
   ----------Network Test----------
   Setting timeout: 10
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0077 sec, LOAD: 0.6883 sec.
   Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0170 sec, LOAD: 0.0167 sec.
   Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0203 sec, LOAD: 0.7401 sec.
   Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0098 sec, LOAD: 0.6955 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0104 sec, LOAD: 0.3270 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0024 sec, LOAD: 0.0264 sec.
   
   ```
   c_array_buf
   ```
   What to do:
   1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
   2. Run the script using `python diagnose.py` and paste its output here.
   
   ```
   
   Package used:
   
   I am using Python3.6 from Anaconda.
   
   
   ## Error Message:
   ImportError: cannot import name 'c_array_buf'
   ## Minimum reproducible example
   ```
   import mxnet
   ```
   
   ## What have you tried to solve it?
   
   1. rebuild cuda, cudnn, and mxnet. but it doesn't solve theproblem

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services