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

ImportError: dynamic module does not define module export function (PyInit__sqlite3) #173

Closed
mingyitianxia opened this issue Jul 8, 2017 · 1 comment

Comments

@mingyitianxia
Copy link

[root@455691d6 OCRmyPDF]# pip3 install .
Processing /ssd/yc/OCRmyPDF
Collecting ruffus==2.6.3 (from ocrmypdf==5.2.post0+g3a7c341.d20170708)
Using cached ruffus-2.6.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-wchw1ow3/ruffus/setup.py", line 12, in
import ruffus.ruffus_version
File "/tmp/pip-build-wchw1ow3/ruffus/ruffus/init.py", line 28, in
from .task import Pipeline, Task
File "/tmp/pip-build-wchw1ow3/ruffus/ruffus/task.py", line 115, in
from . import dbdict
File "/tmp/pip-build-wchw1ow3/ruffus/ruffus/dbdict.py", line 91, in
import sqlite3
File "/usr/local/python3/lib/python3.5/sqlite3/init.py", line 23, in
from sqlite3.dbapi2 import *
File "/usr/local/python3/lib/python3.5/sqlite3/dbapi2.py", line 27, in
from _sqlite3 import *
ImportError: dynamic module does not define module export function (PyInit__sqlite3)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-wchw1ow3/ruffus/

I google for long time, now it still is a big problem for me !

@jbarlow83
Copy link
Collaborator

jbarlow83 commented Jul 8, 2017 via email

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