1

Webots というプログラムを使用していて、いくつかの Python スクリプトを動作させたいのですが、ソフトウェアに付属のサンプル スクリプトを実行すると、エラー メッセージが表示されます。

エラーメッセージ:

[slave] Traceback (most recent call last):
[slave]   File "C:\Program Files(x86)\Webots\projects\languages\python\controllers\slave\slave.py", line 9, in <module>
[slave]     from controller import DifferentialWheels,Camera,DistanceSensor,Receiver
[slave]   File "C:\Program Files (x86)\Webots\lib\python\controller.py", line 25, in <module>
[slave]     _controller = swig_import_helper()
[slave]   File "C:\Program Files (x86)\Webots\lib\python\controller.py", line 21, in swig_import_helper
[slave]     _mod = imp.load_module('_controller', fp, pathname, description)
[slave] ImportError: DLL load failed: The specified module could not be found.
[slave] Traceback (most recent call last):
[slave]   File "C:\Program Files (x86)\Webots\projects\languages\python\controllers\slave\slave.py", line 9, in <module>
[slave]     from controller import DifferentialWheels,Camera,DistanceSensor,Receiver
[slave]   File "C:\Program Files (x86)\Webots\lib\python\controller.py", line 25, in <module>
[slave]     _controller = swig_import_helper()
[slave]   File "C:\Program Files (x86)\Webots\lib\python\controller.py", line 21, in swig_import_helper
[slave]     _mod = imp.load_module('_controller', fp, pathname, description)
[slave] ImportError: DLL load failed: The specified module could not be found.
[slave] Traceback (most recent call last):
[slave]   File "C:\Program Files (x86)\Webots\projects\languages\python\controllers\slave\slave.py", line 9, in <module>
[slave]     from controller import DifferentialWheels,Camera,DistanceSensor,Receiver
[slave]   File "C:\Program Files (x86)\Webots\lib\python\controller.py", line 25, in <module>
[slave]     _controller = swig_import_helper()
[slave]   File "C:\Program Files (x86)\Webots\lib\python\controller.py", line 21, in swig_import_helper
[slave]     _mod = imp.load_module('_controller', fp, pathname, description)
[slave] ImportError: DLL load failed: The specified module could not be found.
[driver] Traceback (most recent call last):
[driver]   File "C:\Program Files (x86)\Webots\projects\languages\python\controllers\driver\driver.py", line 8, in <module>
[driver]     from controller import Supervisor,Emitter,Node,Field
[driver]   File "C:\Program Files (x86)\Webots\lib\python\controller.py", line 25, in <module>
[driver]     _controller = swig_import_helper()
[driver]   File "C:\Program Files (x86)\Webots\lib\python\controller.py", line 21, in swig_import_helper
[driver]     _mod = imp.load_module('_controller', fp, pathname, description)
[driver] ImportError: DLL load failed: The specified module could not be found.

何がおかしいのか、どうすれば直せるのか教えてください。

4

0 に答える 0