Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: No matching distribution found for mxnet-mkl #14

Open
orenpapers opened this issue Jul 25, 2021 · 4 comments
Open

ERROR: No matching distribution found for mxnet-mkl #14

orenpapers opened this issue Jul 25, 2021 · 4 comments

Comments

@orenpapers
Copy link

I cloned the repo locally, then ran pip install -e . and pip install mxnet-mkl but I get the error:

ERROR: Could not find a version that satisfies the requirement mxnet-mkl (from versions: none)
ERROR: No matching distribution found for mxnet-mkl

How can I fix it?

@Tanesan
Copy link

Tanesan commented Aug 1, 2021

The program is not occurred by min-scoring.
I think it is "pip install mxnet."

@orenpapers
Copy link
Author

@Tanesan Now I get the error:

    from mlm.scorers import MLMScorer, LMScorer
  File ".mlm-scoring/src/mlm/scorers.py", line 8, in <module>
    import gluonnlp as nlp
  File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/__init__.py", line 23, in <module>
    from . import loss
  File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/loss/__init__.py", line 23, in <module>
    from .activation_regularizer import *
  File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/loss/activation_regularizer.py", line 25, in <module>
    from mxnet.gluon.loss import Loss
  File "./venv_3.8/lib/python3.8/site-packages/mxnet/__init__.py", line 23, in <module>
    from .context import Context, current_context, cpu, gpu, cpu_pinned
  File "./venv_3.8/lib/python3.8/site-packages/mxnet/context.py", line 23, in <module>
    from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass
  File "./venv_3.8/lib/python3.8/site-packages/mxnet/base.py", line 351, in <module>
    _LIB = _load_lib()
  File "./venv_3.8/lib/python3.8/site-packages/mxnet/base.py", line 342, in _load_lib
    lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib, 6): Symbol not found: ____chkstk_darwin
  Referenced from: ./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib
  Expected in: /usr/lib/libSystem.B.dylib
 in ./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib
python-BaseException

Any idea? I am using MAC and Python3.8

@Tanesan
Copy link

Tanesan commented Aug 3, 2021

I don't know much about it, but this URL may be helpful.
apache/mxnet#5487

@devanshrj
Copy link

@orko19 I was unable to reproduce your bug on a Mac.

Can you try again by creating a new virtual environment and installing MXNet and PyTorch using the following command?
pip install torch mxnet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants