When Run python Script (Alt+P) Blender cannot import gamelogic in all file.

http://images.forstudent.com/show.php?i ... 6c7d962037
1.py
Code: Select all
# first gamePython script
# gets the position of the owning object
# and prints it on the console
import GameLogic
controller = GameLogic.getCurrentController()
owner = controller.getOwner()
print owner.getPosition()
How to Fix this problem?
I must have to install other program?
or how to set path?


