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 2018/05/20 18:09:44 UTC

[GitHub] rehmanzafar opened a new issue #11007: ModuleNotFoundError: No module named '_bz2'

rehmanzafar opened a new issue #11007: ModuleNotFoundError: No module named '_bz2'
URL: https://github.com/apache/incubator-mxnet/issues/11007
 
 
   Hello,
   
   I have installed the mxnet using the following command "**pip install mxnet==1.1.0**". The package was successfully installed but it is giving an error "**ModuleNotFoundError: No module named '_bz2'**" I have tried various solutions but no luck.
   
   `import mxnet as mx` 
   >Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/local/lib/python3.6/site-packages/mxnet/__init__.py", line 77, in <module>
       from . import test_utils
     File "/usr/local/lib/python3.6/site-packages/mxnet/test_utils.py", line 31, in <module>
       import bz2
     File "/usr/local/lib/python3.6/bz2.py", line 23, in <module>
       from _bz2 import BZ2Compressor, BZ2Decompressor
   ModuleNotFoundError: No module named '_bz2'
   
   Any help would be appreciated !!
   Thank you.
   
   

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