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/07/29 07:50:47 UTC

[GitHub] [incubator-mxnet] MyraBaba opened a new issue #18808: import mxnet strange errors

MyraBaba opened a new issue #18808:
URL: https://github.com/apache/incubator-mxnet/issues/18808


   ## Description
   I can't import mxnet from shell/python but can use it from PyCharm from same venv.
   
   >>> import mxnet as mx
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/home/bc/.venv/CSI/lib/python3.6/site-packages/mxnet/__init__.py", line 102, in <module>
       from . import numpy_op_signature
     File "/home/bc/.venv/CSI/lib/python3.6/site-packages/mxnet/numpy_op_signature.py", line 70, in <module>
       _register_op_signatures()
     File "/home/bc/.venv/CSI/lib/python3.6/site-packages/mxnet/numpy_op_signature.py", line 65, in _register_op_signatures
       op = _get_builtin_op(op_name)
     File "/home/bc/.venv/CSI/lib/python3.6/site-packages/mxnet/numpy_op_signature.py", line 52, in _get_builtin_op
       .format(op_name[op_name_prefix:], root_module.__name__))
   TypeError: slice indices must be integers or None or have an __index__ method
   
   
   Really confusing error for me. 
   
   Best
   
   PS: Ubuntu 18.04  , mxnet-cu101mkl
   
   


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



[GitHub] [incubator-mxnet] szha commented on issue #18808: import mxnet strange errors

Posted by GitBox <gi...@apache.org>.
szha commented on issue #18808:
URL: https://github.com/apache/incubator-mxnet/issues/18808#issuecomment-665266012






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



[GitHub] [incubator-mxnet] szha edited a comment on issue #18808: import mxnet strange errors

Posted by GitBox <gi...@apache.org>.
szha edited a comment on issue #18808:
URL: https://github.com/apache/incubator-mxnet/issues/18808#issuecomment-665270988






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



[GitHub] [incubator-mxnet] MyraBaba edited a comment on issue #18808: import mxnet strange errors

Posted by GitBox <gi...@apache.org>.
MyraBaba edited a comment on issue #18808:
URL: https://github.com/apache/incubator-mxnet/issues/18808#issuecomment-665267316


   It is happening in the virtual env. @szha 
   
   Interesting part Pycharm can run on it but from shell sourcing activate cant import mxnet
   
   


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



[GitHub] [incubator-mxnet] MyraBaba commented on issue #18808: import mxnet strange errors

Posted by GitBox <gi...@apache.org>.
MyraBaba commented on issue #18808:
URL: https://github.com/apache/incubator-mxnet/issues/18808#issuecomment-665267316


   It is happening in the virtual env.
   
   Interesting part Pycharm can run on it but from shell sourcing activate cant import mxnet
   
   


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