当初は、import tesseract
うまく機能していました。Google App Engine SDK (インストール/デプロイ) で遊んだ後、ファイルを編集して結果を確認し、内部コードで遊んでみると、次のimport python
エラーが表示され始めました。
Traceback (most recent call last):
File "C:\Users\HEAA\Desktop\ocr2.py", line 9, in <module>
import tesseract
File "C:\Python27\lib\site-packages\tesseract.py", line 26, in <module>
_tesseract = swig_import_helper()
File "C:\Python27\lib\site-packages\tesseract.py", line 22, in swig_import_helper
_mod = imp.load_module('_tesseract', fp, pathname, description)
ImportError: DLL load failed: The specified module could not be found.
私はWindows 7、python 2.7.5を使用しています。
これを解決するにはどうすればよいですか?
パイソンを再インストールしました。
googleAppEngine をアンインストールしました。
depends22_x86 をインストールしました。「depends22_x86」でtesseract.pydをテストしました->ファイルが見つからないというエラーはほとんどありませんが、解決方法がわかりません。
PS: 私は Python のプロではありません