Dll load failed while importing sqlite3 не найден указанный модуль
Я установил PyQt5 на платформе windows и и получение importError: DLL не удалось загрузить.
Я установил pyqt5 с помощью команды
моя версия Python выглядит следующим образом:
ошибка импорта выглядит следующим образом:
Спасибо И С Уважением
это из-за отсутствия Python3.dll (заглушка dll, которая реэкспортирует Python3x.dll функции, так что одна версия расширения может работать для нескольких версий python).
по крайней мере, версии 2017/04/01 должны иметь его.
1) Загрузите WinPython (достаточно "нулевой" версии; должна быть такая же" основная версия" - 3.5/3.6 - и " bitness" - 32/64 - как ваш питон . ).
2) извлеките в некоторый каталог temp, возьмите python3.dll и вставьте его в свой Python dir, рядом с python3x.dll - .
3) наслаждайтесь работой QT
Я знаю, что тема старая, но у меня также была эта проблема с новейшей версией PyQT 5.11, но я понизил ее до 5.9 через:
и это решило вопрос.
если вы создали virtualenv, проверьте, если python3.dll был скопирован в Scripts каталог этого virtualenv. Шансы только python35.dll (или python36.dll , etc., в зависимости от версии Python) был скопирован, и в этом случае вы получите ошибку, которую получаете.
Я нашел альтернативное исправление.
Я использовал virtualenv, потому что PyCharm сделал его для меня, и я не знал лучше. Я установил PyQt5 в этом virtualenv.
я переключился на использование без virtualenv и установил PyQt5 в глобальный Python dir. Это все исправило.
В Windows 10 с помощью Python 3.6 я исправил эту ошибку, выполнив следующие шаги:
1) Установите PyQt5 с pip install pyqt5
2), как описано в этот веб-сайт Microsoft, я изменил установку сообщества Visual Studio 2017, включив "Python native development tools"
3) копия python3.dll С C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64 to C:\IntelPython3\Lib\site-packages\PyQt5 (проверьте ваш каталог)
I have searched for a solution to the problem for quite a while now to no avail. I have also successfully run pip install pysqlite3 on the Anaconda prompt, but the import still fails. What do?
10 Answers 10
I got this working on windows by downloading: the sqlite3 dll (find your system version)
And placing it into the folder: C:\Users\YOURUSER\Anaconda3\DLLs
(Depending on how you installed Anaconda, this may have to be placed into the following folder: C:\ProgramData\Anaconda3\DLLs )
According to @alireza-taghdisian, you can locate the exact path of your conda environments (where you need to copy the sqlite3 dll) by typing: conda info --envs on your anaconda prompt.
Also, you have to copy the file into the DLL folder that is inside of your environment folder if you are using a conda virtual environment
Worked for me. But the path to my folder is: C:\Users\YOURUSER\AppData\Local\Continuum\anaconda3\DLLs
Worked for me. Problem occured running Python 3.7.1 in VS Code. I put the sqlite3.dll (site suggested by elgsantos) in the anaconda/envs/ that I was running python.exe.
But I already have an _sqlite.pyd file in that folder. That's good enough for command line python in the same virtual environment. Why isn't it good enough for Anaconda when both share the same ~\Anaconda3\DLLs folder in sys.path ?
Locate the sqlite3.dll file. In my case it was in following folder
where C:\Users\Admin\anaconda3 is the folder where Anaconda was installed
Add this to PATH in environment variables, and it should work then.
In Pycharm you can add a PATH environment variabele under Run->Edit Configurations->Environment Variables. The benefit of this is that you can specify different paths for different python versions
This worked for me. Thanks. So probably a combination of elgsantos' answer if you don't already have the dll, and this one where you would add it to the PATH, is the complete answer.
Add CONDA_DLL_SEARCH_MODIFICATION_ENABLE=1 to your environment variables.
Try copying the sqlite3.dll from the
I just reinstalled anaconda (with python3.8, 64Bit, on Win10) but there is no bin folder under . anaconda3\Library. The sqlite3.dll is in . anaconda3\pkgs\sqlite-3.35.4-h2bbff1b_0\Library\bin instead. Is that to be considered strange? Of course, I could create the folder . anaconda3\Library\bin and copy the sqlite3.dll in there as a single .dll file. Would that be normal and OK?
before executing the program, enter conda activate in your shell.
I had tried all above solutions But for me and my system I got to know that I downloaded Python in C:\Python27 hence there is dll folder in python C:\Python27\DLLs I installed Sqlite3.dll in my above dll folder
May be this solution will help you because it completely depends on where do you install your python Happy coding :)
Your answer has some formatting problems. Try to improve that. Use ` brackets for paths and code fragments. To highlight apps' names or interface, use a bold ( ** brackets) or italic ( * brackets) font. To start from a new line use double space at the end of the line - the question'll be way more clear than using Enter everywhere. Adding some : would be nice too.
I put the sqlite3.dll in the path folder of my Python venv and still wont work. I suspected it is a path problem.
(In my case: E:\Virtual_Env\mini_zinc\env\Scripts)
I found in my case I messed up installation in a virtual evn, somehow using an anaconda python kernel within a Python venv.
I reinstall the Python Venv and check the python version after installed Env is correct (not the Anaconda python), then proceed with Jupyter Notebook (or Juyterlab) and works fine.
I was able to resolve this issue by putting sqlite3.dll file in the C:\Users\AppData\Local\conda\conda\envs\DLLs.
I found the @elgsantos useful. But for those who are new to Python and Conda like me, I would like to add a little bit of details.
1- I use miniconda3 for creating new environment.
2- interestingly, I got two installation path on my computer for conda: the first one (the obvious) is located on "C:\Users\taghdisian\miniconda3". The second one is on "C:\Users\taghdisian\AppData\Local\r-miniconda". The latter is the primary path that you need to copy your sqlite3 files into the envs folder. I copy them in the "C:\Users\taghdisian\AppData\Local\r-miniconda\envs\sdr3.9\DLLs" in which the sdr3.9 is one of my virtual Condo environment.
you can locate the exact path of your conda environments (where you need to copy sqlite3) by typing the conda info --envs on your anaconda prompt.
(base) C:\Users. >jupyter notebook
Traceback (most recent call last):
File "C:\Users. \Continuum\anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 10, in
import sqlite3
File "C:\Users. \Continuum\anaconda3\lib\sqlite3_init_.py", line 23, in
from sqlite3.dbapi2 import *
File "C:\Users. \Continuum\anaconda3\lib\sqlite3\dbapi2.py", line 27, in
from _sqlite3 import *
ImportError: DLL load failed: The specified procedure could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users. \Continuum\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\Users. \Continuum\anaconda3\lib\site-packages\notebook\notebookapp.py", line 86, in
from .services.sessions.sessionmanager import SessionManager
File "C:\Users. \Continuum\anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 13, in
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
I've already check sqlite is list on Anaconda's installed packages, and also search web but notting found.
I think Its not about jupyter notebook itself, because when I try to import sqllite;
(base) C:\Users. >python
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
from _sqlite3 import *
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed: The specified procedure could not be found.
getting same error
The text was updated successfully, but these errors were encountered:
kyledmiller commented Jul 21, 2019
ehsraka commented Jun 14, 2019
Thanks Deborshi1993, the solution /workaround has worked.
engkimbs commented Jul 1, 2019 •
Thanks! it works! :)
NguyenDongAnh commented Sep 5, 2019
i sovled this issue by copy file C:\Anaconda3\Libary\bin\sqlite3.dll to C:\Anaconda3\Dlls
kyledmiller commented Apr 29, 2019
@johntiger1 I wasn't using an environment when this error occurred as I had everything installed to root. If you only had python/jupyter installed to an environment, then it would make sense that you could only use it within that environment but otherwise I'm a bit confused by your comment.
canivel commented Oct 23, 2019
for me, since i used anaconda64 i activate the env and installed,
conda install -c anaconda pywin32
and it solved
recutech commented Jul 20, 2019
UPDATE w/ FIX: I fixed this problem by adding *anaconda root*/Library/bin to my PATH.
I am also having this issue with version 2018.12
$ Traceback (most recent call last):
File "H:\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 10, in import sqlite3
File "H:\Anaconda3\lib\sqlite3__init__.py", line 23, in
from sqlite3.dbapi2 import *
File "H:\Anaconda3\lib\sqlite3\dbapi2.py", line 27, in
from _sqlite3 import *
ImportError: DLL load failed: The specified module could not be found. During handling of the above exception, another exception occurred: Traceback (most recent call last):
File "H:\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "H:\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 86, in
from .services.sessions.sessionmanager import SessionManager
File "H:\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 13, in from pysqlite2 import dbapi2 as sqlite3 ModuleNotFoundError: No module named 'pysqlite2'
how did you add *anaconda root*/Library/bin in your path ?
RobinsonR commented Jan 18, 2019
I'm having this exact problem too.
takluyver commented Jan 16, 2019
realprocrastinator commented Oct 29, 2019
for me, since i used anaconda64 i activate the env and installed,
conda install -c anaconda pywin32
and it solved
I tried your solution but get the error message below
C:\Users\11063>conda install -c anaconda pywin32
$ D:\Anaconda\Scripts\conda-script.py install -c anaconda pywin32
environment variables:
CIO_TEST=
CONDA_ROOT=D:\Anaconda
HOMEPATH=\Users\11063
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Sys
tem32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program
Files\Intel\WiFi\bin;C:\Program Files\Common
Files\Intel\WirelessCommon;C:\Program Files\NVIDIA Corporation\NVIDIA
NGX;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program
Files\NVIDIA Corporation\NVIDIA
NvDLISR;D:\Matlab2019\bin;D:\Anaconda;C:\Program
Files\CMake\bin;C:\Program Files\dotnet;C:\Users\11063\AppData\Local
Programs\Python\Python37\Scripts;C:\Users\11063\AppData\Local\Program
s\Python\Python37;C:\Users\11063\AppData\Local\Microsoft\WindowsApps;
C:\Users\11063\AppData\Local\GitHubDesktop\bin;C:\Users\11063\AppData
Local\Programs\Microsoft VS Code\bin;D:\Database Systems\DataGrip
2019.2.4\bin;;D:\Anaconda;D:\Anaconda\Scripts;
PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\Windows
PowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
Thank you for helping to improve conda.
Opt-in to always sending reports (and not see this message again)
by running
Я разрабатываю UWP. Я использую библиотеку sqlite-net-pcl. После обновления моего приложения с RC на RTM я получил ошибку времени выполнения-sqlite3.dll не удалось найти-если он работает на мобильном эмуляторе или устройстве. Он работал prefectly после того, как я добавил ссылку на пакет среды выполнения C++ 2013, и я запустил его на локальной машине.
конечно, я не мог добавить ссылку на "Sqlite для универсальной платформы приложений", потому что я получаю следующую ошибку
Описание Кода Серьезности Ошибка Строки Файла Проекта Полезная Нагрузка содержит два или более файлов с одним и тем же целевым путем 'sqlite3.в DLL'. Источник файлы: C:Program файлы (x86)Microsoft SDKsUAPv0.8.0.0ExtensionSDKsSQLite.UAP.20153.8.11.1RedistDebugARMsqlite3.файл DLL C:UserssMavrikis.nugetpackagesSQLitePCL.raw_basic.7.1buildnativesqlite3_dynamicwinrt81armsqlite3.dll файлы TestApp1
добавить ссылку на "SQLite для универсальной платформы приложений" Это вызовет ошибку:
полезная нагрузка содержит два или более файлов с тем же путем назначения ' sqlite3.в DLL'.
эта ошибка возникает из-за другой версии sqlite3.dll в обоих местах, отмеченных ошибкой. Устраните эту ошибку, просто скопировав
C:\Program файлы (x86)\Microsoft SDKs\UAP\v0.8.0.0\ExtensionSDKs\SQLite.UAP.2015\3.8.11.1\Redist\Debug\ARM\sqlite3.dll файлы
перезапись существующего файла.
перестроить проект. Он должен компилироваться сейчас.
Если вы посмотрите на два конфликтующих местоположения, один, кажется, исходит из более официального расширения Microsoft для UWP, в то время как второй исходит из пакета nuGet.
когда я столкнулся с этой ошибкой, мне нужна была функциональность пакета nuGet, поэтому я решил сохранить его и удалить другую ссылку. Я щелкнул правой кнопкой мыши по проекту в обозревателе решений и пошел в Add->Reference, а затем снял ссылку на SQLite. Казалось, меньше ошибок, чем копирование файл из одного места в другое для меня.
я исправил аналогичную проблему, выбрав x64 или ARM в конфигурации компилятора.
полезная нагрузка ошибки содержит два или более файлов с тем же путем назначения ' e_sqlite3.в DLL'. Исходный файл: C:\Users\xleon.nuget\packages\SQLitePCLRaw.движение за освобождение.e_sqlite3.v140\1.1.0\runtimes\win10-arm\native\e_sqlite3.файл DLL C:\Users\xleon.nuget\packages\sqlitepclraw.движение за освобождение.e_sqlite3.v140\1.1.0\runtimes\win10-x86\native\e_sqlite3.dll файлы
но это, конечно, не разрешить запуск эмулятора
щелкните правой кнопкой мыши проект UWP и выберите Свойства.
и убедитесь, что цель платформы решения соответствует цели платформы проекта.
Если они разные, вы получите ошибку сборки о копировании файлов в тот же пункт назначения с тем же именем (но разные целевые платформы).
мне удалось решить проблему несоответствия, поставив условие в UWP .csproj для включения dll SQLite
Мне нужно было работать с версией UWP для отладки, иначе мой конструктор XAMl взорвался бы с "не могу найти SQLite.файл DLL. "
в настоящее время я использую SQLite для Windows Forms, но при запуске проекта он показывает ошибку:
не удалось загрузить DLL 'sqlite3': указанный модуль не найден. (Исключение из HRESULT: 0x8007007E)
Я добавил DLL System.Data.SQLite.dll но он показывает ту же ошибку. Пожалуйста, может ли кто-нибудь помочь мне, давая идеальный ответ на эту проблему? Заранее спасибо
может быть, вы не добавили версию для правильной платформы? SQLite распространяется с одной сборкой X86 (32 бит) и одной сборкой X64 (64 бит).
Если ваше приложение является 32-битным приложением, вы должны использовать систему.Данные.Базы данных SQLite.dll находится в каталоге" bin " системы.Данные.Распределение SQLite, если это 64-битное приложение, вы должны использовать его в "bin\x64".
используйте проект "добавить существующий элемент" и выберите sqlite3.dll "как ссылка". нажимать OK. Выберите DLL в проекте и установите значение "копировать локальное" в True.
в моем случае я работаю над проектом UWP. Мне пришлось добавить ссылку среда выполнения Visual C++ 2015 для универсальных приложений платформы Windows и ошибка пропала. Его можно добавить в Диспетчере ссылок в разделе универсальные окна > расширения. Подробное решение можно найти здесь.
У меня была такая же проблема, когда я загрузил последнюю поставщик sqlite и я попробовал решение от здесь но это не сработало, следовательно, я загрузил более ранней версии и работает отлично.
скопировать и sqlite3.dll в папку System32. У меня получилось. И спасибо тебе!
Я создаю собственное приложение Windows Phone 8.1 с PCL и проектом Droid. У меня была такая же ошибка, и я поместил ссылку на правильную версию sqlite3.dll (wpa81) и все работало.
У меня была точно такая же проблема для проекта UWP в Xamarin.Бланки заявления. Добавление ссылки на" SQLite для универсальной платформы Windows " в проект UWP решило проблему.
все это, похоже, решения для определенных ситуаций. Для меня и для @Marlon Ticao на этой странице приложение просто не может найти DLL.
есть 2 решения. Скопируйте его в каталог, который находится в пути (например, System32), или вы можете скопировать его в тот же каталог, что и исполняемый файл.
после борьбы в течение 3 дней,наконец, нашли способ решить.
по состоянию на март 2018 года, если вы попытаетесь использовать sqlite-net через Диспетчер пакетов Nuget он добавляет два файла и несколько ссылочных библиотек в ваше решение независимо от типа проекта UWP или Android и т. д.
и после этого, если вы скомпилируете и запустите решение не удастся, за исключением
не удалось загрузить DLL 'sqlite3': не удалось найти указанный модуль. (Исключение из HRESULT: 0x8007007E)
Это потому, что он не может загрузить и sqlite3.dll, поскольку он не добавляется в решение через NuGet package manger.Поэтому вам нужно добавить его вручную.
Итак, теперь ваше решение будет выглядеть ниже, и оно будет работать без проблем.
У меня была эта точная проблема, используя сторонний sqlite3.dll -- приложение не запустится. Я использовал зависимость walker, чтобы найти, что это sqlite3.dll зависела от msvcr110.файл DLL. Как только я включил этот файл, все было хорошо.
Deborshi1993 commented Aug 28, 2019
- Install Anaconda 32 Bit for windows.
- Add \Anaconda3 and \Anaconda3\Script to Path in Environment variables.
- Open Anaconda Prompt and Create an Environment and activate it.
- Once you activate the Environment, you will into it. Then write the command JUPYTER NOTEBOOK, it should run on your Browser.
@Deborshi1993 do you have a link to that issue?
@GiorgioBalestrieri What kind of link are you referring to?
@Deborshi1993 you mentioned there is an issue with the 64 Bit version of Anaconda. Do you have a source for that?
@GiorgioBalestrieri It's with 64Bit Windows version of Anaconda, and this is just a common issue with a lot of Windows users including me and few of my colleagues. Please feel free to share your views if for you it is working. :)
best regards,
Deborshi
@Deborshi1993 I think I wasn't clear, I was not questioning whether it's an issue with Anaconda, I was trying to get visibility on the issue/thread where this is being tracked.
I faced the exact the same problem (also on Windows, also Anaconda 64bit, but for some reason only for some environments, specifically some using Python 3.7) .
I was asking for a source because if there is a known issue it should be tracked somewhere, and I'm quite sure Continuum would have someone actively working on it. It would be useful for people reading this thread being able to check the status of that issue and for people working on that issue to know it's cascading into things like this one.
@GiorgioBalestrieri Yes, you are right. But also for me, I had to go through the threads to find an exact approach to solve this issue. Hence, I wrote the exact process I followed to bring up Jupyter Notebook and this worked with some. I am sorry to say, there is no other source I can refer you at this moment. :)
GiorgioBalestrieri commented Aug 27, 2019
- Install Anaconda 32 Bit for windows.
- Add \Anaconda3 and \Anaconda3\Script to Path in Environment variables.
- Open Anaconda Prompt and Create an Environment and activate it.
- Once you activate the Environment, you will into it. Then write the command JUPYTER NOTEBOOK, it should run on your Browser.
@Deborshi1993 do you have a link to that issue?
Deborshi1993 commented Jun 11, 2019
Fixed it! Even though it doesn't really make sense (or perhaps I have the wrong understanding of how jupyter notebook works), this is what I did:
I just activated my environment before starting the notebook. So I did "activate [env]" first, before typing in "jupyter notebook" from my Anaconda command prompt
My issue got resolved by this. Thank you very much :)
Deborshi1993 commented Jun 14, 2019
There is an issue with the 64 Bit version of Anaconda. Try these steps:
- Install Anaconda 32 Bit for windows.
- Add \Anaconda3 and \Anaconda3\Script to Path in Environment variables.
- Open Anaconda Prompt and Create an Environment and activate it.
- Once you activate the Environment, you will into it. Then write the command JUPYTER NOTEBOOK, it should run on your Browser.
GiorgioBalestrieri commented Aug 27, 2019
- Install Anaconda 32 Bit for windows.
- Add \Anaconda3 and \Anaconda3\Script to Path in Environment variables.
- Open Anaconda Prompt and Create an Environment and activate it.
- Once you activate the Environment, you will into it. Then write the command JUPYTER NOTEBOOK, it should run on your Browser.
@Deborshi1993 do you have a link to that issue?
@GiorgioBalestrieri What kind of link are you referring to?
@Deborshi1993 you mentioned there is an issue with the 64 Bit version of Anaconda. Do you have a source for that?
GiorgioBalestrieri commented Aug 28, 2019
- Install Anaconda 32 Bit for windows.
- Add \Anaconda3 and \Anaconda3\Script to Path in Environment variables.
- Open Anaconda Prompt and Create an Environment and activate it.
- Once you activate the Environment, you will into it. Then write the command JUPYTER NOTEBOOK, it should run on your Browser.
@Deborshi1993 do you have a link to that issue?
@GiorgioBalestrieri What kind of link are you referring to?
@Deborshi1993 you mentioned there is an issue with the 64 Bit version of Anaconda. Do you have a source for that?
@GiorgioBalestrieri It's with 64Bit Windows version of Anaconda, and this is just a common issue with a lot of Windows users including me and few of my colleagues. Please feel free to share your views if for you it is working. :)
best regards,
Deborshi
@Deborshi1993 I think I wasn't clear, I was not questioning whether it's an issue with Anaconda, I was trying to get visibility on the issue/thread where this is being tracked.
I faced the exact the same problem (also on Windows, also Anaconda 64bit, but for some reason only for some environments, specifically some using Python 3.7) .
I was asking for a source because if there is a known issue it should be tracked somewhere, and I'm quite sure Continuum would have someone actively working on it. It would be useful for people reading this thread being able to check the status of that issue and for people working on that issue to know it's cascading into things like this one.
taswanj01 commented Mar 13, 2019
@kyledmiller Thanks a ton. There are lots of seemingly convoluted threads going on about this issue and your fix corrected the issue for me.
Deborshi1993 commented Aug 28, 2019
- Install Anaconda 32 Bit for windows.
- Add \Anaconda3 and \Anaconda3\Script to Path in Environment variables.
- Open Anaconda Prompt and Create an Environment and activate it.
- Once you activate the Environment, you will into it. Then write the command JUPYTER NOTEBOOK, it should run on your Browser.
@Deborshi1993 do you have a link to that issue?
@GiorgioBalestrieri What kind of link are you referring to?
@Deborshi1993 you mentioned there is an issue with the 64 Bit version of Anaconda. Do you have a source for that?
@GiorgioBalestrieri It's with 64Bit Windows version of Anaconda, and this is just a common issue with a lot of Windows users including me and few of my colleagues. Please feel free to share your views if for you it is working. :)
best regards,
Deborshi
johntiger1 commented Apr 29, 2019
Fixed it! Even though it doesn't really make sense (or perhaps I have the wrong understanding of how jupyter notebook works), this is what I did:
I just activated my environment before starting the notebook. So I did "activate [env]" first, before typing in "jupyter notebook" from my Anaconda command prompt
Rvor commented Sep 3, 2019
I fixed this issue by replace file C:\Windows\System32\sqlite3.dll by C:\Users\Rvor\Anaconda3\Library\bin\sqlite3.dll :)
kyledmiller commented Jan 31, 2019 •
UPDATE w/ FIX: I fixed this problem by adding *anaconda root*/Library/bin to my PATH.
I am also having this issue with version 2018.12
$ Traceback (most recent call last):
File "H:\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 10, in import sqlite3
File "H:\Anaconda3\lib\sqlite3_init_.py", line 23, in
from sqlite3.dbapi2 import *
File "H:\Anaconda3\lib\sqlite3\dbapi2.py", line 27, in
from _sqlite3 import *
ImportError: DLL load failed: The specified module could not be found. During handling of the above exception, another exception occurred: Traceback (most recent call last):
File "H:\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "H:\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 86, in
from .services.sessions.sessionmanager import SessionManager
File "H:\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 13, in from pysqlite2 import dbapi2 as sqlite3 ModuleNotFoundError: No module named 'pysqlite2'
ehsraka commented Jun 13, 2019
After a successful installation of Anaconda 2019.03 (for Windows Installer) on Windows 10 64 bit(Python 3.7 already installed at different path), I passed the command to invoke "Jupyter notebook" and got this error "loading dll". I tried uninstalling and reinstalling it on the default path too, but still met the same fate. I have tried out the various workarounds provided but could not resolve this issue, please help me resolve this.
Deborshi1993 commented Aug 27, 2019
- Install Anaconda 32 Bit for windows.
- Add \Anaconda3 and \Anaconda3\Script to Path in Environment variables.
- Open Anaconda Prompt and Create an Environment and activate it.
- Once you activate the Environment, you will into it. Then write the command JUPYTER NOTEBOOK, it should run on your Browser.
@Deborshi1993 do you have a link to that issue?
@GiorgioBalestrieri What kind of link are you referring to?
Читайте также: