I am currently trying to load a few script through boost python. I ran into some trouble today while trying to launch idle from it however and I cannot figure out the cause of the issue.
This is on a windows 2008 machine, and I am currently running Python 3.3
import idlelib.PyShell
idlelib.PyShell.main()
Those 2 lines produce this traceback:
import idlelib.PyShell
File "..\engines\idlelib\PyShell.py", line 20, in <module>
from tkinter import *
File "..\engines\tkinter\__init__.py", line 40, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: invalid character
Any ideas would be greatly appreciated!