0
私はimtools
が必要なこのチュートリアルに従おうとしています。私はパッケージがインストールされているように見えますが、Pythonコンパイラはそれを見つけることができません。何が起きてる?pipインストール後にimutils.pespectiveというモジュールがありません
チュートリアル:あなただけの間違ったパッケージをインストールようhttp://www.pyimagesearch.com/2016/10/03/bubble-sheet-multiple-choice-scanner-and-test-grader-using-omr-python-and-opencv/
~/py:. cat test_grader.py
from imutils.perspective import four_point_transform~
~/py:. python test_grader.py
Traceback (most recent call last):
File "test_grader.py", line 1, in <module>
from imutils.perspective import four_point_transform
ImportError: No module named imutils.perspective
~/py:pip install imtools
Requirement already satisfied: imtools in /usr/local/lib/python2.7/site-packages
Requirement already satisfied: matplotlib in /usr/local/lib/python2.7/site-packages (from imtools)
Requirement already satisfied: pyyaml in /usr/local/lib/python2.7/site-packages (from imtools)
Requirement already satisfied: numpy in /usr/local/lib/python2.7/site-packages (from imtools)
Requirement already satisfied: scipy in /usr/local/lib/python2.7/site-packages (from imtools)
Requirement already satisfied: python-dateutil in /usr/local/lib/python2.7/site-packages (from matplotlib->imtools)
Requirement already satisfied: pyparsing!=2.0.0,!=2.0.4,>=1.5.6 in /usr/local/lib/python2.7/site-packages (from matplotlib->imtools)
Requirement already satisfied: cycler in /usr/local/lib/python2.7/site-packages (from matplotlib->imtools)
Requirement already satisfied: pytz in /usr/local/lib/python2.7/site-packages (from matplotlib->imtools)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python2.7/site-packages (from python-dateutil->matplotlib->imtools)
~/py:.
Doh !!!私はちょうど昼寝が必要でした。ありがとうございました! – quantumpotato