Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ocr methods 怎么安装啊 #123

Open
ZackKingS opened this issue Jan 16, 2018 · 5 comments
Open

ocr methods 怎么安装啊 #123

ZackKingS opened this issue Jan 16, 2018 · 5 comments

Comments

@ZackKingS
Copy link

Traceback (most recent call last):
File "/Users/bochaoceng/Desktop/pythonProj/jump/TopSup.py", line 9, in
from common import ocr, methods
ImportError: No module named common

@cncal
Copy link

cncal commented Jan 17, 2018

请问你对源码有没有做什么改动,比如删除 common 文件夹下的 __init__.py 文件,这个文件会把 common 文件夹变为一个 Python 模块用于引用。

@ZackKingS
Copy link
Author

原来这个库在 common里面 ..... ,不过有报错了
File "GetQuestionTessIos.py", line 9, in
from common import ocr, methods
File "/Users/bochaoceng/Desktop/TopSup-master/common/methods.py", line 9, in
import urllib.parse
ImportError: No module named parse
大神麻烦看一下 是怎么添加这个依赖啊

@ZackKingS
Copy link
Author

是要用 python3 么

@cncal
Copy link

cncal commented Jan 17, 2018

试试呢,http://blog.csdn.net/testcs_dn/article/details/55807101 这篇文章也这么说的

@ZackKingS
Copy link
Author

好的 谢啦

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants