Blenderplayer not working

When I try to load my game into Blenderplayer it crashes. In the console I get:

Fatal Python error: Py_Initialize: can’t initialize sys standard streams
ImportError: No module named encodings.utf_8

I am running Blender 2.56 32-bit on Windows 7.

If anyone knows the solution I would be very happy to hear it.

Thanks.

just copy paste the ‘lib’ folder and everything in it to same directory as tat of the exe and it will work.

Thank-you. You have solved my problem.

no problem.:smiley:

Um…actually, things didn’t work as smoothly as I had hoped.

While Blednerplayer now runs my game, it will not import a python module that is in the site packages folder. When I run the game inside of Blender it works, but when I run the game through Blenderplayer it does not. I even double checked to make sure that the files were copied. I’m not sure why Python can’t find the module.