Adding Custom Modules
Posted: Thu Feb 04, 2016 9:35 pm
Hello Everyone ,
MY GOAL:
trying to add a custom c/c++ module into sp to later import in a script from..
STEPS TAKEN:
step1) aquired a .pyd file via anaconda of my desired module. ( anaconda = python distribution)
step2) putting the same ".pyd" into "csgo\addons\source-python\Python3\plat-win"
PROBLEM:
after starting my server the import command returns "ImportError: No module named 'x'"
my assumptions:
1) dependencies are missing, that were installed into anaconda == the whole method is flawed?
2) i have to register the module somewhere in sp
3) i have to use a special name syntax starting with "_"
is anybody familliar with this issue and wants to offer a solution?
thanks in advance
MY GOAL:
trying to add a custom c/c++ module into sp to later import in a script from..
STEPS TAKEN:
step1) aquired a .pyd file via anaconda of my desired module. ( anaconda = python distribution)
step2) putting the same ".pyd" into "csgo\addons\source-python\Python3\plat-win"
PROBLEM:
after starting my server the import command returns "ImportError: No module named 'x'"
my assumptions:
1) dependencies are missing, that were installed into anaconda == the whole method is flawed?
2) i have to register the module somewhere in sp
3) i have to use a special name syntax starting with "_"
is anybody familliar with this issue and wants to offer a solution?
thanks in advance