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/22 16:34:20 UTC

[GitHub] [incubator-mxnet] bricksdont opened a new issue #17402: Cannot install mxnet-cu101mkl with pip

bricksdont opened a new issue #17402: Cannot install mxnet-cu101mkl with pip
URL: https://github.com/apache/incubator-mxnet/issues/17402
 
 
   ## Description
   Trying to install mxnet-cu101mkl with pip leads fails because no Pypi package matches.
   
   ### Error Message
   
   ```bash
   % pip install mxnet-cu101mkl
   ERROR: Could not find a version that satisfies the requirement mxnet-cu101mkl (from versions: none)
   ERROR: No matching distribution found for mxnet-cu101mkl
   ```
   
   ### Steps to reproduce
   
   - I am creating a new Python virtual environment that uses Python 3.6:
   
   ```
   virtualenv -p python3.6 env
   source env/bin/activate
   ```
   
   - then I run this command:
   
   ```
   pip install mxnet-cu101mkl
   ```
   
   ## What have you tried to solve it?
   
   - install a local version of different pythons, for instance 3.7
   - look in Pypi for specific wheels, download them and give them to pip directly to install
   - check which wheel tags are supported on my system:
   
   ```bash
    % python3 -c "import wheel.pep425tags as w; print(w.get_supported())" | sed -zE 's/\),/),\n/g'
   [('cp36', 'cp36m', 'linux_x86_64'),
    ('cp36', 'abi3', 'linux_x86_64'),
    ('cp36', 'none', 'linux_x86_64'),
    ('cp35', 'abi3', 'linux_x86_64'),
    ('cp34', 'abi3', 'linux_x86_64'),
    ('cp33', 'abi3', 'linux_x86_64'),
    ('cp32', 'abi3', 'linux_x86_64'),
    ('cp36', 'none', 'any'),
    ('cp3', 'none', 'any'),
    ('cp35', 'none', 'any'),
    ('cp34', 'none', 'any'),
    ('cp33', 'none', 'any'),
    ('cp32', 'none', 'any'),
    ('cp31', 'none', 'any'),
    ('cp30', 'none', 'any'),
    ('py3', 'none', 'linux_x86_64'),
    ('py36', 'none', 'any'),
    ('py3', 'none', 'any'),
    ('py35', 'none', 'any'),
    ('py34', 'none', 'any'),
    ('py33', 'none', 'any'),
    ('py32', 'none', 'any'),
    ('py31', 'none', 'any'),
    ('py30', 'none', 'any')]
   ```
   
   ## Environment
   
   We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
   ```
   curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python
   
   ----------Python Info----------
   Version      : 3.6.2
   Compiler     : GCC 8.3.0
   Build        : ('default', 'Jan 22 2020 16:30:39')
   Arch         : ('64bit', 'ELF')
   ------------Pip Info-----------
   Version      : 20.0.1
   Directory    : /srv/scratch1/mmueller/multitutorial/sockeye3/lib/python3.6/site-packages/pip
   ----------MXNet Info-----------
   No MXNet installed.
   ----------System Info----------
   Platform     : Linux-4.19.0-6-amd64-x86_64-with-debian-10.2
   system       : Linux
   node         : rattle
   release      : 4.19.0-6-amd64
   version      : #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11)
   ----------Hardware Info----------
   machine      : x86_64
   processor    :
   Architecture:        x86_64
   CPU op-mode(s):      32-bit, 64-bit
   Byte Order:          Little Endian
   Address sizes:       46 bits physical, 48 bits virtual
   CPU(s):              24
   On-line CPU(s) list: 0-23
   Thread(s) per core:  1
   Core(s) per socket:  12
   Socket(s):           2
   NUMA node(s):        2
   Vendor ID:           GenuineIntel
   CPU family:          6
   Model:               79
   Model name:          Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
   Stepping:            1
   CPU MHz:             2499.876
   CPU max MHz:         2900.0000
   CPU min MHz:         1200.0000
   BogoMIPS:            4399.78
   Virtualization:      VT-x
   L1d cache:           32K
   L1i cache:           32K
   L2 cache:            256K
   L3 cache:            30720K
   NUMA node0 CPU(s):   0-11
   NUMA node1 CPU(s):   12-23
   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 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts md_clear flush_l1d
   ----------Network Test----------
   Setting timeout: 10
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0060 sec, LOAD: 0.6965 sec.
   Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0005 sec, LOAD: 0.5009 sec.
   Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0211 sec, LOAD: 0.0172 sec.
   Timing for D2L: http://d2l.ai, DNS: 0.0208 sec, LOAD: 0.0046 sec.
   Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0209 sec, LOAD: 0.0031 sec.
   Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0121 sec, LOAD: 0.0345 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0134 sec, LOAD: 0.4327 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0005 sec, LOAD: 0.0311 sec.
   ```
   
   ## Question
   
   What are possible causes for this? Does anybody have other ideas how to debug this issue?

----------------------------------------------------------------
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 #17402: Cannot install mxnet-cu101mkl with pip

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17402: Cannot install mxnet-cu101mkl with pip
URL: https://github.com/apache/incubator-mxnet/issues/17402#issuecomment-577284238
 
 
   There is a bug in pip 20. Please downgrade to pip 19.

----------------------------------------------------------------
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 #17402: Cannot install mxnet-cu101mkl with pip

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17402: Cannot install mxnet-cu101mkl with pip
URL: https://github.com/apache/incubator-mxnet/issues/17402#issuecomment-577312178
 
 
   https://github.com/pypa/pip/issues/7629

----------------------------------------------------------------
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] bricksdont commented on issue #17402: Cannot install mxnet-cu101mkl with pip

Posted by GitBox <gi...@apache.org>.
bricksdont commented on issue #17402: Cannot install mxnet-cu101mkl with pip
URL: https://github.com/apache/incubator-mxnet/issues/17402#issuecomment-577292774
 
 
   @leezu Which bug with pip version 20 vs. 19 are you referring to?

----------------------------------------------------------------
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] bricksdont commented on issue #17402: Cannot install mxnet-cu101mkl with pip

Posted by GitBox <gi...@apache.org>.
bricksdont commented on issue #17402: Cannot install mxnet-cu101mkl with pip
URL: https://github.com/apache/incubator-mxnet/issues/17402#issuecomment-577286067
 
 
   That (= a bug in my version of pip) was not the issue I think, I just realized that the machine does not have MKL installed.
   
   If I install the version without MKL, everything is fine:
   
       pip install mxnet-cu101
   
   But I have no idea how I could have found out, except by trial and error.
   
   And I did not downgrade pip:
   
   ```
   % pip --version
   pip 20.0.1 from /srv/scratch1/mmueller/multitutorial/env/lib/python3.7/site-packages/pip (python 3.7)
   ```

----------------------------------------------------------------
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 edited a comment on issue #17402: Cannot install mxnet-cu101mkl with pip

Posted by GitBox <gi...@apache.org>.
leezu edited a comment on issue #17402: Cannot install mxnet-cu101mkl with pip
URL: https://github.com/apache/incubator-mxnet/issues/17402#issuecomment-577312178
 
 
   https://github.com/pypa/pip/issues/7629 and related

----------------------------------------------------------------
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 closed issue #17402: Cannot install mxnet-cu101mkl with pip

Posted by GitBox <gi...@apache.org>.
leezu closed issue #17402: Cannot install mxnet-cu101mkl with pip
URL: https://github.com/apache/incubator-mxnet/issues/17402
 
 
   

----------------------------------------------------------------
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