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

Installed with pip to Python 3.6, however, elicits "DLL Load Failed" error #105

Open
paraclete-pizza opened this issue Jun 21, 2020 · 1 comment

Comments

@paraclete-pizza
Copy link

I installed MSAF to Python 3.6 in the cmd in Windows 10.
pip3.6 install msaf

It installed properly, and shows up when I type help("modules") in Python 3.6. The folders exist where they should. But an attempt to import MSAF elicits the message "The Specified Module Cannot be Found." And when I try to import it in Python 3.6 in the cmd, I get a lengthier version of the error:

>>> import msaf

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\msaf\__init__.py", line 25, in <module>
    from . import algorithms

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\msaf\algorithms\__init__.py", line 23, in <module>

    [importlib.import_module(module_name) for module_name in module_names]

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\msaf\algorithms\__init__.py", line 23, in <listcomp>

    [importlib.import_module(module_name) for module_name in module_names]

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\importlib\__init__.py", line 126, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\msaf\algorithms\cnmf\__init__.py", line 10, in <module>
    from .segmenter import *

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-
packages\msaf\algorithms\cnmf\segmenter.py", line 7, in <module>
    from msaf import pymf

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\msaf\pymf\__init__.py", line 17, in <module>
    from .nmfals import *

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\msaf\pymf\nmfals.py", line 19, in <module>
    from cvxopt import solvers, base

  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\cvxopt\__init__.py", line 50, in <module>
    import cvxopt.base

ImportError: DLL load failed: The specified module could not be found.
@urinieto
Copy link
Owner

This seems to be a known issue with some cvxopt versions. Please, try some of these suggestions and let me know if they fix your problem: https://stackoverflow.com/questions/14778178/import-cvxopt-base-the-specified-module-could-not-be-found

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

2 participants