Fail update installation dll load failed не найден указанный модуль gns3
При запуске или установке приложений в Windows возникает сбой — не найден указанный модуль dll. Что делать в этой ситуации, мы расскажем вам в данной статье. Многие оставляют попытки решить сбой ещё на начальном этапе. Но если вам важно продолжить установку или запуск программ, дочитайте статью до конца.
Восстановление файлов системы Windows
Очень эффективным средством для борьбы с любыми ошибками и отсутствием или неисправностью файлов Виндовс является загрузочный диск. То есть флешка либо CD-диск, с которого была установлена система. Для владельцев лицензионной ОС есть возможность обратиться за помощью в поддержку.
А для тех, кто вручную устанавливал свою систему нужно вставить диск в привод и перезагрузить ПК. Выполняйте те же действия, что и при установке. Но на этапе, когда появляется окно с вопросом Установить или восстановить, нужно выбрать второй способ. Можно попробовать другой метод, который не требует диска.
Восстановление Windows
Откройте поиск в Windows или меню «Пуск» и запишите в строке «Командная строка». Открыть её необходимо от имени администратора.
Запуск командной строки от имени администратора
Затем следует записать команду, которая вернёт недостающие системе файлы. Записывайте её внимательно, иначе она не запустится: dism.exe /Online /Cleanup-image /Restorehealth.
Следует немного подождать завершения процесса и проверить появление ошибки. В отчёте программа покажет файлы, которые восстановила в процессе.
Часто в тексте ошибки фигурирует название самого файла. Система указывает, что с данной микропрограммой проблемы. Её замена сможет помочь продолжить работу за ПК. Прописать их можно в поисковике, но не загружайте из неизвестных источников.
Есть несколько ресурсов, которые не станут распространять вредоносные файлы и рисковать репутацией:
Попробуйте загружать файлы с них. На каждом есть строка поиска, которой можно воспользоваться. Установка файлов происходит традиционным способом. После установки проверьте появление ошибки «Не найден указанный модуль dll». Если и сейчас она появляется, то скорее всего без переустановки системы не обойтись.
Не найден указанный модуль в CS:GO — решение
Почему-то чаще всего ошибка появляется во многими любимом шутере CS:GO. Но решается она достаточно просто. Для этого нам нужно запустить Steam и найти игру в нашей библиотеке.
- Затем нужно ПКМ нажать на имя с игрой;
- В выпадающем списке выберите пункт Свойства;
Попробуйте после этих действий запустить КС. Проблема должна быть решена. Можно попробовать перед началом проверки кэша в клиенте Стим удалить папку bin игры на вашем компьютере. Если эти рекомендации не помогли, следуйте инструкциям, которые мы предоставляем ниже.
yan-zhao commented Oct 9, 2017
I'm on windows 10 python 3.5 64 bits. The standard numpy installation has no MKL in it. quancq's solution solved my problem.
quancq commented Oct 2, 2017
Code and Logs
Code that I am trying to run:
To run it without 'kivy.deps.sdl2' the import error goes away, however I still get the error about being unable to find a window, abort. Yes this is trying to run it in PyCharm
Способ 4: переустанавливаем DirectX
Patrikejane commented Oct 9, 2017
21 Answers 21
It is because of missing Python3.dll (stub dll, that re-exports Python3x.dll functions, so that one version of extension can work for multiple versions of python).
At least the 2017/04/01 versions should have it.
1) Download WinPython ('Zero' version suffices; must be same "main version" - 3.5/3.6 -and "bitness" - 32/64 - as your Python . ).
2) Extract to some temp directory, take the python3.dll and stick it into your python dir, next to the python3x.dll.
3) Enjoy working QT
Solved my issue with PyQt5 and a virtualenv (windows) - using the python3.dll from the python3.5 installation (copied from c:\python35 to virtualenv\scripts\python3.dll solved that issue)
Tried and my interpreter crashed with this error message: fatal python error pythreadstate_get no current when I tried to do a from PyQt5 import to verify if it works
I know the topic is old but I have also had this problem with the newest version of PyQT 5.11 but I've downgraded it to 5.9 via:
and it has solved the issue.
If you created a virtualenv, check if python3.dll was copied into the Scripts directory of that virtualenv. Chances are only python35.dll (or python36.dll , etc., depending on the Python version) was copied, in which case you would get the error you're getting.
In my case, I had Windows 10 32-bits and Python 3.7.2. Using PyQt5 5.11 installed via pip I got this error:
I noticed that version 5.11 came without Qt DLLs, so I reinstalled an earler version with python -m pip uninstall PyQt5 and python -m pip install PyQt5==5.10
Never use --no-cache-dir since it will produce an assert error when installing the whl file:
I ended up installing 5.10 and had the following error:
After setting QT_DEBUG_PLUGINS and even plugin path with:
I realised that the dll qwindows.dll was searched in the right path where it resides.
TL;DR: I re-ran my python Qt script with UAC elevation, and guess what, it worked !
In Windows 10 using Python 3.6 I fixed this error going through the following steps:
1) Install PyQt5 with pip install pyqt5
2) As explained in this Microsoft website, I modified my Visual Studio 2017 Community installation enabling "Python native development tools"
3) Copy python3.dll from C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64 to C:\IntelPython3\Lib\site-packages\PyQt5 (check your directory)
The answer is quite simple sometimes. Went through a lot of headaches because the application was running smoothly before restarting my computer. However, I just said to myself, maybe windows just can't load the DLL module? So I restarted my computer again and ran again.
Worked perfectly. Hope, it helped someone.
I had the same issue.
The problem was that my PySide2 version was different from PyQt5 version (PySide2: 5.12, PyQt5: 5.14). I upgraded PySide2 to 5.14 and it worked for me. (Python 3.6.5)
pip install PySide2==5.14
I could manage to fix it for my conda environment (conda 4.6.11, python 3.6) I was struggling with this issue for a long time, trying all the fixes suggested here. In the end, I figured it out! Use pip3 install instead conda install (my conda seems to perform poorly), even in conda environment (pip3, not just pip, pip didn't work for me).
How I found it out? I pip3 install PyQt5==5.9.1 , it loaded fine, but the issue with DLL load failed moved to the other library, like PIL, so I did the same installed it with pip3 and then I had to reinstall each library with pip3 and now it works.
I found an alternative fix.
I was using a virtualenv because PyCharm had made one for me and I didn't know better. I had installed PyQt5 in that virtualenv.
I switched to using no virtualenv, and installed PyQt5 in the global Python dir. That fixed it.
This can also happen when you have a version of Anaconda installed which comes with PyQt5 and you overshadow that package with a pip installed version. Uninstalling the pip installed version corrected the problem for me.
Solution
- Close all programs & compilers
- Open Anaconda Navigator Make sure you have installed pyqt and qtpy modules (qtawesome optional)
- From Anaconda Navigator Home and launch VS code, Jupyter your favored editor
- Run your program!-
this is not a permanent fix but it worked for me hope it works for you too @Miloslav Raus answer didn't work for me
genliu777 commented Jan 29, 2016
Способ 6: восстанавливаем системные реестр
Способ 1: автоматическое исправление проблем с DLL-файлами
Есть специальная утилита, которая автоматически сканирует системные библиотеки и сравнивает их с эталоном. Если она обнаружит, что какого-то файла или нескольких, недостает, она сама их загрузит. Также происходит анализ битых, поврежденных и модифицированных файлов. Это очень удобно и быстро в сравнении с ручным способом и, что немаловажно, еще и более безопасно. На личном опыте, программа работает стабильно и не устанавливает файлы, зараженные вирусами. Однако любые манипуляции с DLL-библиотеками сложно назвать полностью безопасными.
Инструкция по устранению ошибки 126:
- Загружаем программу Restoro PC Repair Tool. Лучше это делать с официального сайта .
- Устанавливаем и запускаем софт. Нажимаем на кнопку «Начать сканирование» (Start Scan).
- После процедуры анализа системы кликаем по клавише «Восстановить все» (Repair All).
Важное достоинство программы – она оптимизирует компьютер, увеличивая его производительность (если в системе есть какие-то проблемы с DLL). Ее можно оставить в качестве настольного софта, так как утилита решает большой спектр проблем.
Проверка на вирусную активность в системе
Не стоит отсекать вероятность появление вредоносного кода в компьютере. Многие вирусы могут долгое время не вызывать подозрения и собирать нужную информацию тайком, чтобы начать действовать эффективно. Рекомендуем проверить ваш компьютер дополнительными утилитами Kaspersky Removal Tool или Dr.WEB Cure It!.
Инструкцию для отключения найдите самостоятельно в интернете. Так как каждая программ требует для себя индивидуального подхода. Если при отключении антивируса вам удалось запустить/установить программу, значит вы нашли причину.
superbobry commented Jan 29, 2016
Glad to help. Closing the issue.
superbobry commented Jan 29, 2016
Clearly SciPy installation is broken. Try reinstalling, if it doesn't help I suggest to open a SciPy issue and continue the discussion there.
dhoksrushti commented Sep 13, 2017
I am facing the issue in Win 10 where I have manually downloaded scipy-0.19.1-cp35-cp35m-win_amd64.whl and reinstalled it. Still the issue persist
Ошибки с файлами dll
Рассматриваемая ошибка относится к проблемам с динамическими библиотеками Windows. Это особые «микропрограммы», которые могут быть полезными для всех устанавливаемых вами игр или программ. Файлы dll активно помогают приложениям обращаться к другим программам, записывать видео, отправлять документы на печать и т.д.
В динамической библиотеке огромное количество таких файлов и каждый имеет своё уникальное имя. Нередко в окне с ошибкой встречается надпись на английском dll load failed, что значит модуль (или dll файл) не смог загрузиться. И, конечно же, программа перестаёт работать. Решением ошибки во многих случаях является загрузка нового файла dll с его уникальным именем.
Ошибка: отсутствие файла dll
Файл могут блокировать другие приложения, вирусы или антивирусы. Нередко причиной сбоя модулей становится файловый мусор и переполнение остатками ключей реестра. Могут стать причиной и «поломка» системного элемента.
animeshsingh04 commented Apr 30, 2018
C:\Users\Student\PycharmProjects\project\venv\Scripts\python.exe C:/Users/Student/PycharmProjects/project/shmm_main.py
Traceback (most recent call last):
File "C:/Users/Student/PycharmProjects/project/shmm_main.py", line 6, in
from hmmlearn import hmm
ModuleNotFoundError: No module named 'hmmlearn'
but when I'm trying to download hmmlearn package it showing this error
Collecting hmmlearn
Using cached https://files.pythonhosted.org/packages/dd/9e/6822b0cb04660f897cffb0ef39020423b342548803015f9b6e7dffeed2a8/hmmlearn-0.2.0.tar.gz
Installing collected packages: hmmlearn
Running setup.py install for hmmlearn: started
Running setup.py install for hmmlearn: finished with status 'error'
Complete output from command C:\Users\Student\PycharmProjects\project\venv\Scripts\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Student\AppData\Local\Temp\pycharm-packaging\hmmlearn\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Student\AppData\Local\Temp\pip-evb0i94l-record\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\Student\PycharmProjects\project\venv\include\site\python3.6\hmmlearn:
running install
running build
running build_py
creating build
creating build\lib.win32-3.6
creating build\lib.win32-3.6\hmmlearn
copying hmmlearn\base.py -> build\lib.win32-3.6\hmmlearn
copying hmmlearn\hmm.py -> build\lib.win32-3.6\hmmlearn
copying hmmlearn\utils.py -> build\lib.win32-3.6\hmmlearn
copying hmmlearn_init_.py -> build\lib.win32-3.6\hmmlearn
creating build\lib.win32-3.6\hmmlearn\tests
copying hmmlearn\tests\test_base.py -> build\lib.win32-3.6\hmmlearn\tests
copying hmmlearn\tests\test_gaussian_hmm.py -> build\lib.win32-3.6\hmmlearn\tests
copying hmmlearn\tests\test_gmm_hmm.py -> build\lib.win32-3.6\hmmlearn\tests
copying hmmlearn\tests\test_multinomial_hmm.py -> build\lib.win32-3.6\hmmlearn\tests
copying hmmlearn\tests\test_utils.py -> build\lib.win32-3.6\hmmlearn\tests
copying hmmlearn\tests_init_.py -> build\lib.win32-3.6\hmmlearn\tests
warning: build_py: byte-compiling is disabled, skipping.
Command "C:\Users\Student\PycharmProjects\project\venv\Scripts\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Student\AppData\Local\Temp\pycharm-packaging\hmmlearn\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Student\AppData\Local\Temp\pip-evb0i94l-record\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\Student\PycharmProjects\project\venv\include\site\python3.6\hmmlearn" failed with error code 1 in C:\Users\Student\AppData\Local\Temp\pycharm-packaging\hmmlearn
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Hi, I am trying to run the example code from the install Kivy. The following is the error I receive back. Any help would be great. I have tried looking at previous enquiries about similar problems, but nothing suggested on them has worked so far.
Способ 3: обновляем Microsoft NET Framework
7 Answers 7
I had the same problem. I solved this by removing Kivy and its dependencies first.
Now reinstalling everything except gstreamer.
It solved the error. Credits to Ben R's Answer.
Just adding the second line (install docutils,pygments,etc) without uninstalling kivy and it still works.
Thanks, It was resolved! I command *.py not in pycharm but in python console, and it resolved. maybe pycharm error(or env setting error)?
07-2021, Python 3.9
The problem is that the PATH variable has not been set (Python installation from the Windows Store).
**from the windows menu/browser:
at the beginning remove any python installation, this will make life easier**
It is best to download python from python.org and install as ADMINISTRATOR as "CUSTOM" with a known path (for all users) IE c:/programs/python39
Be sure to check:
add to PATH variable to system
Now, after installing python - we log out and log back in. Then in the start menu look for CMD and run . as administrator
and that solves the whole problem.
Ps. Ifyou write angin command IE:
Location of files should be show as IE:
But not as your home directory
(But it will be if you run cmd as normal user. and then IT doesen't work. But if you have all files on your home directory YOU HAVE TO REMOVE ALL BEFORE YOU START:
python -m pip uninstall docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
And then (as admin): python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
I had the very same problem, and for me the solution was to make use of virtualenv instead of venv. This forces Kivy to use a specific installation of Python.
Install virtualenv if not already installed
pip install virtualenv
Create a virtual environment, specifying the path to the newly installed Python version
virtualenv --python=C:\path\to\Python37\python.exe my_venv
Activate the new virtual environment
Install kivy according to Javapocalypse's answer
I got the same problem with Python 3.9.1.
Reinstallation of kivy.deps.sdl2, kivy.deps.glew, kivy in the default user mode didn't work for me.
Sir please use venv I got the same error but I solves it using venv. Please create a virtualenv and install using your installation process. It works
Keep your main file name main.py otherwise, it will raise this error. (Check this before doing anything).
I don't think the name of the .py file has anything to do with this. Changing it to main.py didn't change anything, and the message is talking about finding a window provider anyway, not being unable to find the .py file itself.
If you enable debug logging ( -d ) you get more details:
Using Dependency Walker shows PYTHON37.DLL as what was missing.
I suspect that a traditional system installation of Python must be used, and not one from the Microsoft Store. The Store versions don't appear to have the DLLs anywhere. Though I've not had any problems with native dependencies until now.
I also tried building from source instead of using the wheel, but --no-binary=kivy.deps.sdl2 results in:
ERROR: Could not find a version that satisfies the requirement kivy-deps.sdl2~=0.3.1; sys_platform == "win32" (from kivy) (from versions: none)
ERROR: No matching distribution found for kivy-deps.sdl2~=0.3.1; sys_platform == "win32"
I have installed PyQt5 on windows platform and and getting an importError: DLL load failed.
I have installed pyqt5 using the command
My Python version is as follows:
The import Error is as follows:
after installing with conda (which was successful?) open an interpreter, import PyQt5, and call PyQt5.__file__ to get the location conda put it. then go to a command prompt, and after installing 5.8.1 with pip, call pip show pyqt5 and compare the location to that of 5.6 you installed with conda. If the path to /site-packages/ is different, you have multiple separate installations.
Patrikejane commented Sep 28, 2017
@dhoksrushti is you error solved? if solved is it from above mention fix?
vaishvel commented Oct 2, 2017
@dhoksrushti Facing the same issue. Any solutions?
Отключение сторонних процессов
Для решения ошибки с отсутствием dll может понадобиться отключение сторонних процессов, которые нередко конфликтуют друг с другом. Вы даже представить себе не можете, насколько их много в вашем ПК. К конфликтным ситуациям часто причастны пустые и неправильные ключи реестра.
Все вместе эти проблемы поможет решить одна утилита — Autoruns. Её рекомендуют сами создатели Windows. И ссылка ведёт на официальный сайт Microsoft. Утилита очень проста в использовании. Вам нужно скачать её и запустить файл Autoruns, соответствующий разрядности вашей ОС. Открыть файл нужно сразу от имени администратора.
Файлы Autoruns для запуска утилиты
Каждая жёлтая строка с названием программы — это пути в реестре к несуществующим файлам.
Окно утилиты Autoruns с ключами реестра и процессами системы
С каждой нужно убрать галочку. Розовым фоном помечены файлы без цифровой подписи. Если вы его название вам не знакомо, то галочку с него лучше также убрать. Когда весь список будет обработан, закройте утилиту и перезагрузите ПК.
Способ 2: временно отключаем антивирус
Есть большая вероятность, что ошибка 126 спровоцирована антивирусной защитой системы. Если в момент установки программы антивирус посчитал один из компонентов угрозой и заблокировал его, он будет отсутствовать, а система писать «Не найден указанный модуль». В целом желательно отключать защиту в момент установки программ, которым доверяем.
- Выключаем антивирус (встроенный Защитник Windows и/или сторонний).
- Полностью удаляем программу через «Программы и компоненты» (пункт находится в Панели управления).
- Начинаем установку утилиты снова, проверив, что сейчас антивирус не работает.
- Проверяем результат.
Если сейчас программа заработала нормально, рекомендуем открыть антивирус и добавить в список его исключений данный софт. В противном случае со временем ошибка может вернуться, ведь антивирусная защита снова может заблокировать или удалить файл.
Важно! Для максимального результата лучше сделать полное удаление программы. Для этого можем воспользоваться iObit Uninstaller. Софт анализирует систему и ищет остатки файлов приложения, удаляя и их.
Причины ошибки 126
Если отображается ошибка 126 «Не найден модуль» – можем сделать вывод о наличии одной из перечисленных ниже проблем:
Мы разработали серию решений проблемы, одно из них обязано помочь, так как исправляет каждую из перечисленных проблем. Логично, что после устранения неполадки, все должно заработать правильно.
Update 2020-06
Versions 5.13 to 5.15 are running out of the box now as soon as the runtime was installed.
BTW, version 5.12 is built on Visual C++ 2015-2019 too. You cannot downgrade to version 5.12 to solve the problem.
After looking at the comments around the DLL issue, none were recent, and I happened to figure out why this issue still persists. The current version as of writing for PyQt5 is 5.15.6. 5.15.6, 5.15.5 and 5.15.4 give the DLL issue. Not sure how to fix it but to downgrade to 5.15.3.
Actually I never upgraded PyQt5 because I probably had a similar issue somewhere else. But when I installed PyQtWebEngine, it automatically upgraded to latest PyQt5, and required atleast PyQt version 5.15.4 (which gives the DLL error). The way I solved this second issue was to downgrade from PyQtWebEngine-5.15.5 to PyQtWebEngine-5.15.3.
In summary for those that need:
pip install PyQt5==5.15.3
pip install PyQt5==5.15.3
pip install PyQtWebEngine==5.15.3
You can try downloading 64bit Python Installer (Windows x86-64 executable installer) from here. I am using PyQt5==5.10.1 . Solve my problem.
If you have tried all/most of the above and still gets no where. Here is the solution.
Firstly, exclude the virtual environment issues by checking the PyQt5 path. Open a Windows terminal, and type below
Now that you have seen the PyQt5 path that the default python recognizes (before __init__.py ), check that in File Browser and you should find the PyQt5 directory. It is fine, and the DLL import error is not due to this issue!
If the DLL cannot be imported problem persists, it is because your Windows lacks higher Visual C++ runtime environment. Yes, PyQt5 for Windows is built on Visual C++ 2015-2019. Just download and install that patch to your Windows and restart, problem solved.
In Windows 10, it's build-in python 3.7. And it seems too minimalistic.
Then you should reinstall pyqt5 for new python.
Recently had this problem on a machine running on an old version of Python. The solution was to import every pyqt5 related modules before doing any other imports.
My PyQt5 was throwing this "module not found" error on 'from PyQt5 import QtGui'
When I reinstalled PyQt5, Pip threw an error traceback that started at:
- ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
A quick check for t64.exe in Python\lib\site-packages\pip_vendor\distlib\ (the path given in the error message, but with dots) confirmed no t64.exe file.
Fortunately, I had a project distribution archived that had the t64.exe file, so I copied it over to my machine's C:\Program Files\Python directory and that handled the problem.
NOTE: I've been working on this since Windows crashed on startup yesterday and a VERY DICEY system recovery mangled my Python installation. I wiped out my entire Python installation and reinstalled it at least twice, running 'pip --upgrade' each time. One certainly wonders why the t64.exe file got dropped from the installation--and why a reinstall didn't restore it.
Способ 5: сканируем системные файлы Windows
Во всех актуальных версиях Windows есть встроенный инструмент анализа системных файлов. Он часто помогает при различных проблемах с DLL-файлами.
Как запустить системные файлы:
- В поиск Windows вводим cmd и запускаем «Командную строку».
- Вводим команду sfc /scannow.
- Ждем завершения сканирования системы. Все ошибки должны быть исправлены автоматически, если такая возможность есть.
Способ 7: делаем откат Windows
Если никакие ручные способы исправления не помогают, что бывает редко, приходится обратиться к последнему методу и откатить Windows к последнему рабочему состоянию. Иногда файлы DLL могут пропадать из-за удаления программы, и вы можете столкнуться с ошибкой 126. Чтобы устранить ее, воспользуйтесь точками восстановления. Найти «Параметры восстановления» можем через поиск в Windows.
my OS is win7 x64 . visual studio 2015, also visual studio 2013, and python 3.5 x64(by anaconda) are set up.
hmmlearn is set up successfully. and validated by the code:
>>>import hmmlearn
>>> hmmlearn.version
and the output is '0.2.0' which is last version of hmmlearn.
but, if i put the code like the following,
>>>from hmmlearn import hmm
i get the error as the following,
C:\Anaconda3_64\python.exe E:/pycharm/plot_hmm_stock_analysis/hmm_stock_analysis.py
Traceback (most recent call last):
File "E:/pycharm/plot_hmm_stock_analysis/hmm_stock_analysis.py", line 17, in
from hmmlearn import hmm
File "C:\Anaconda3_64\lib\site-packages\hmmlearn-0.2.0-py3.5-win-amd64.egg\hmmlearn\hmm.py", line 14, in
from sklearn import cluster
File "C:\Anaconda3_64\lib\site-packages\sklearn__init__.py", line 57, in
from .base import clone
File "C:\Anaconda3_64\lib\site-packages\sklearn\base.py", line 11, in
from .utils.fixes import signature
File "C:\Anaconda3_64\lib\site-packages\sklearn\utils__init__.py", line 11, in
from .validation import (as_float_array,
File "C:\Anaconda3_64\lib\site-packages\sklearn\utils\validation.py", line 16, in
from ..utils.fixes import signature
File "C:\Anaconda3_64\lib\site-packages\sklearn\utils\fixes.py", line 324, in
from scipy.sparse.linalg import lsqr as sparse_lsqr
File "C:\Anaconda3_64\lib\site-packages\scipy\sparse\linalg__init__.py", line 109, in
from .isolve import *
File "C:\Anaconda3_64\lib\site-packages\scipy\sparse\linalg\isolve__init__.py", line 6, in
from .iterative import *
File "C:\Anaconda3_64\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 7, in
from . import _iterative
ImportError: DLL load failed: The specified module could not be found.
why? and how to fix it!?
by the way, if in cmd, using "pip freeze" commond, it shows hmmlearn and the version of it is 0.2.0.
BUT, if using "conda list", no hmmlearn shows!!
The text was updated successfully, but these errors were encountered:
genliu777 commented Jan 29, 2016
THANKS a lot first.
just code "import scipy.sparse.linalg" in pycharm, and get the error:
Traceback (most recent call last):
File "E:/pycharm/plot_hmm_stock_analysis/hmm_stock_analysis.py", line 18, in
import scipy.sparse.linalg
File "C:\Anaconda3_64\lib\site-packages\scipy\sparse\linalg__init__.py", line 109, in
from .isolve import *
File "C:\Anaconda3_64\lib\site-packages\scipy\sparse\linalg\isolve__init__.py", line 6, in
from .iterative import *
File "C:\Anaconda3_64\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 7, in
from . import _iterative
ImportError: DLL load failed: The specified module could not be found.
why? does it mean that scipy not properly set up!? if so, how to fix it? remove scipy and reinstall it again? i use anaconda for python is that i can not set up numpy or scipy by myself.
i remember not clearly that some samples of sklearn use scipy.sparse.linalg and i code it without any error.
Читайте также: