Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars.

5 views
Skip to first unread message

Сергей Владимирович

unread,
Feb 2, 2012, 6:37:03 PM2/2/12
to pytho...@python.org
Hello. Please help me to import python module in my application that
has python 2.7.2 embeded.
I tried example from this link
http://docs.python.org/extending/embedding.html#embedding-python-in-c
paragraph 5.3.
If i place program in folder D:\temp\test_python\test_pythonævnes
på\Debug I will get error - Failed to load "multiply".
My localization settings (system language) don't correspond the chars'
language used in path.

Terry Reedy

unread,
Feb 2, 2012, 7:26:27 PM2/2/12
to pytho...@python.org
Easiest is to change your folder name to all ascii. This sort of thing
will work better in future 3.x, but even then, a mismatch between
encodings is a problem.

--
Terry Jan Reedy


0 new messages