![]() ![]() ![]() This SQLlite database is very useful in creating a web applications. You can try either option for fixing this platform incompatibility issue. configure -enable-optimizations -enable-loadable-sqlite-extensions Here is another alternative of updating sqlite-devel and recompiling the files. Option 2: sudo apt-get install libsqlite3-dev 3. Here we need to update the internal packages. In some cases, we have seen we somehow corrupt the default python for linux or we install some external package that indirectly creates incompatibility of platform Linux with python. conda install -c kbchoi pysqlite Solution 2: Updating internal python package – If you are using conda package manager, you can run the below command for installation. It will install the latest version for pysqlite but if you want to install version specific package then you need to add the version below – Modulenotfounderror no module named _sqlite3 pip install pysqlite=2.8.2įor admin right, you can add sudo keyword with the command. ![]() There is a single command which we need to run and it will download and install the package. The best way to install pysqlite is by using pip package manager. Solution 1: Installing pysqlite explicitly – Since we have mentioned whether we explicitly install the pysqlite package or we can update the internal python and Linux platforms to avoid any kind of incompatibility. Modulenotfounderror no module named sqlite3 ( Solution ) – In this article, we will explore both ways. Because default python also offers sqlite database as an inbuilt feature. We can fix Modulenotfounderror no module named sqlite3 error by explicitly installing pysqlite python module or updating the packages in existing python. ![]()
0 Comments
Leave a Reply. |