Crystal Space
Welcome, Guest. Please login or register.
October 26, 2014, 05:51:54 am

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8828 Members
Latest Member: Saikjanna
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Development / Support / Re: (solved) Failed to initialize Python plugin Windows 8 on: December 22, 2013, 10:34:05 pm
Hi all.

OS: Windows 8
Compiler: msvc10
CS Version: 2.0
Winlibs Version: 2.0_002

So, I'm a little confused about the CS compilation with python. Since the files listed in this tutorial are missing, I figured the msvc solution that includes python is "wkspytypical" based on this, no errors while compiling.
I have python 2.7 installed, and I can run every demo app except "pysimp".

In the CRYSTAL variable I have the CS source dir "...\crystalspace-src-2.0\", and in PATH I have the CS dir created by Winlibs.

This is what I get when running pysimp:

Quote
NOTIFY: loading plugin instance for crystalspace.script.python
SCF_NOTIFY: loading plugin [...]\crystalspace-src-2.0\out\debug10\bin\cspython.dll to satisfy request for csPython
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named cspace

crystalspace.pluginmgr.loadplugin:
  failed to initialize plugin ‘crystalspace.script.python’

I have compiled plgcspython successfully (it's in my build dir and the dll was created). So, I don't know what's wrong.

Any ideas?.
I tried doing all of the above but still isn't working.  Any other suggestions? 
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.186 seconds with 17 queries.