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 2020/01/19 08:45:08 UTC

[GitHub] [incubator-mxnet] ResearchingDexter opened a new issue #17380: pip install error

ResearchingDexter opened a new issue #17380: pip install error
URL: https://github.com/apache/incubator-mxnet/issues/17380
 
 
   ## Description
   I compiled MXNet for the source code, but I got the error when I **install MXNet for python**
   
   ### Error Message
   ```python
   Obtaining file:///root/mxnet/python
       ERROR: Command errored out with exit status 255:
        command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/root/mxnet/python/setup.py'"'"'; __file__='"'"'/root/mxnet/python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
            cwd: /root/mxnet/python/
       Complete output (3 lines):
       
       Segmentation fault: 11
       
       ----------------------------------------
   ERROR: Command errored out with exit status 255: python setup.py egg_info Check the logs for full command output.
   ```
   
   ## To Reproduce
   ```shell
   cd python
   pip install --user -e .
   ```
   
   ### Steps to reproduce
   
   
   ## What have you tried to solve it?
   
   1.
   2.
   
   ## Environment
   ```python
   ----------Python Info----------
   Version      : 3.6.8
   Compiler     : GCC 8.0.1 20180414 (experimental) [trunk revision 259383
   Build        : ('default', 'Jan 14 2019 11:02:34')
   Arch         : ('64bit', '')
   ------------Pip Info-----------
   Version      : 19.3.1
   Directory    : /usr/local/lib/python3.6/dist-packages/pip
   ----------System Info----------
   Platform     : Linux-4.14.2-1.el7.centos.x86_64-x86_64-with-Ubuntu-18.04-bionic
   system       : Linux
   node         : de-5171-init001-1217193101-6bcbc5c9fb-6dfqw
   release      : 4.14.2-1.el7.centos.x86_64
   version      : #1 SMP Sat Nov 25 01:06:46 EST 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):              32
   On-line CPU(s) list: 0-31
   Thread(s) per core:  2
   Core(s) per socket:  8
   Socket(s):           2
   NUMA node(s):        2
   Vendor ID:           GenuineIntel
   CPU family:          6
   Model:               63
   Model name:          Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
   Stepping:            2
   CPU MHz:             2400.135
   BogoMIPS:            4800.27
   Virtualization:      VT-x
   L1d cache:           32K
   L1i cache:           32K
   L2 cache:            256K
   L3 cache:            20480K
   NUMA node0 CPU(s):   0-7,16-23
   NUMA node1 CPU(s):   8-15,24-31
   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 arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb intel_ppin tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc dtherm arat pln pts
   ----------Network Test----------
   Setting timeout: 10
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0502 sec, LOAD: 0.9384 sec.
   Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.3987 sec, LOAD: 1.1677 sec.
   Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.7986 sec, LOAD: 1.0833 sec.
   Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.5118 sec, LOAD: 0.4124 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0022 sec, LOAD: 4.5548 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.2654 sec, LOAD: 1.5357 sec.
   ----------Environment----------
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [incubator-mxnet] ResearchingDexter commented on issue #17380: pip install error

Posted by GitBox <gi...@apache.org>.
ResearchingDexter commented on issue #17380: pip install error
URL: https://github.com/apache/incubator-mxnet/issues/17380#issuecomment-576077780
 
 
   It only printed so much...., how I can do that.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [incubator-mxnet] leezu commented on issue #17380: pip install error

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17380: pip install error
URL: https://github.com/apache/incubator-mxnet/issues/17380#issuecomment-575987463
 
 
   Please provide the full logs mentioned inside your code snippet.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [incubator-mxnet] liuzh91 commented on issue #17380: pip install error

Posted by GitBox <gi...@apache.org>.
liuzh91 commented on issue #17380: pip install error
URL: https://github.com/apache/incubator-mxnet/issues/17380#issuecomment-576188540
 
 
   @ResearchingDexter  Have you `make` under the `incubator-mxnet` directory before doing `pip install`?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [incubator-mxnet] liuzh91 edited a comment on issue #17380: pip install error

Posted by GitBox <gi...@apache.org>.
liuzh91 edited a comment on issue #17380: pip install error
URL: https://github.com/apache/incubator-mxnet/issues/17380#issuecomment-576188540
 
 
   @ResearchingDexter  Have you `make` under the `incubator-mxnet` directory before doing `pip install`?
   
   After cloning the git directory, you should do the following steps:
   1. `cd incubator-mxnet`
   2. `mkdir build; cd build; cmake -DUSE_CUDA=1 -DUSE_MKLDNN=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DBUILD_CYTHON_MODULES=1 ..`
   3. `cd ..`
   4. `make -j48`
   5  `cd python; pip install --user -e .`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [incubator-mxnet] liuzh91 edited a comment on issue #17380: pip install error

Posted by GitBox <gi...@apache.org>.
liuzh91 edited a comment on issue #17380: pip install error
URL: https://github.com/apache/incubator-mxnet/issues/17380#issuecomment-576188540
 
 
   @ResearchingDexter  Have you `make` under the `incubator-mxnet` directory before doing `pip install`?
   
   After cloning the git directory, you should do the following steps:
   1. `cd incubator-mxnet`
   2. `mkdir build; cd build; cmake -DUSE_CUDA=1 -DUSE_MKLDNN=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DBUILD_CYTHON_MODULES=1 ..`
   3. `cd ..`
   4. `make -j48`
   5. `cd python; pip install --user -e .`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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