私はPythonにかなり慣れていないので、ここで何が起こっているのか理解できません。
C:\Users\Mike\Desktop>storytext testGui.py
Traceback (most recent call last):
File "C:\Python25\Scripts\storytext.py", line 19, in <module>
from storytext.cmdline import main
File "C:\Python25\lib\site-packages\storytext-3.7-py2.5.egg\storytext\cmdline.py", line 3, in <module>
import scriptengine, definitions
File "C:\Python25\lib\site-packages\storytext-3.7-py2.5.egg\storytext\scriptengine.py", line 4, in
<module>
import recorder, replayer
File "C:\Python25\lib\site-packages\storytext-3.7-py2.5.egg\storytext\recorder.py", line 6, in <module>
from replayer import ReplayScript
File "C:\Python25\lib\site-packages\storytext-3.7-py2.5.egg\storytext\replayer.py", line 5, in <module>
from threading import Thread, Timer
File "C:\Python25\lib\threading.py", line 13, in <module>
from collections import deque
ImportError: No module named collections
コレクションという名前のモジュールはありません。実際、自分のpython25
フォルダでコレクションを検索しても、そこにはありません。にあると読みましたがModules/_collectionsmodule.c
、これも見つかりません。
全体のキッカーは、コレクションをインタープリターからインポートできることと、インタープリターでインポートできることfrom threading import Time, Timer
です。
このマシンには python 2.5 と 2.6 の両方があり、Windows 7 を実行しています。
誰かが私を正しい方向に向けることができますか?