[C++-sig] failed in PyImport_Import()

jjiinnnn jin at sohovfx.com
Thu Nov 1 19:28:42 CET 2007


Oh My goodness, I've been having the same problem and I have been trying to
figure this out the entire day! and This solved it for me..
What a weird weird problem...

Thank you so much Steven Wyckoff! You are the life saver!!



Steven Wyckoff wrote:
> 
> 
> PyRun_SimpleString("import sys");
> PyRun_SimpleString("sys.path.append(\"your/path/here\")");
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/failed-in-PyImport_Import%28%29-tf4688986.html#a13534565
Sent from the Python - c++-sig mailing list archive at Nabble.com.




More information about the Cplusplus-sig mailing list