I installed from
http://www.python.org/getit/this version
Python 3.3.0 Windows X86-64 MSI Installer
I may have older versions installed, I don't know if I'm supposed to uninstall (I have some versions installed for different apps (such as xamp)
I don't mean to criticize python, but... there should be a readme, or a self-contained python setup (which I'm glad to hear future versions will have), because the old version I think only required .net
Update:
C:\Python27>pythonw
C:\Python27>pythonw "c:\Games\Dwarf Fortress\mods\masterwork\MDF2_GUI_Fix\Master
workDF Settings.py"
C:\Python27>python "c:\Games\Dwarf Fortress\mods\masterwork\MDF2_GUI_Fix\Masterw
orkDF Settings.py"
Traceback (most recent call last):
File "c:\Games\Dwarf Fortress\mods\masterwork\MDF2_GUI_Fix\MasterworkDF Settin
gs.py", line 1, in <module>
from tkinter import *
ImportError: No module named tkinter
C:\Python27>cd..
C:\>cd Python33
C:\Python33>python "c:\Games\Dwarf Fortress\mods\masterwork\MDF2_GUI_Fix\Masterw
orkDF Settings.py"
Traceback (most recent call last):
File "c:\Games\Dwarf Fortress\mods\masterwork\MDF2_GUI_Fix\MasterworkDF Settin
gs.py", line 13, in <module>
for file in os.listdir(dir1):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'Mast
erworkDwarfFortress/raw/objects/*.*'
C:\Python33>
If you guys could be so kind as to inform me what version I should be running so I can see what the alpha looks like, I'd be in your debt.
I'm seeing all sorts of suggestions
http://wiki.python.org/moin/TkInterStep 2 - can Tkinter be imported?
Try the correct command for your version at the Python prompt:
>>> import Tkinter # no underscore, uppercase 'T' for versions prior to V3.0
>>> import tkinter # no underscore, lowercase 't' for V3.0 and later
If it works, go to step 3.
If it fails with "No module named Tkinter", your Python configuration need to be changed to include the directory that contains Tkinter.py in its default module search path. You have probably forgotten to define TKPATH in the Modules/Setup file. A temporary workaround would be to find that directory and add it to your PYTHONPATH environment variable. It is the subdirectory named "lib-tk" of the Python library directory (when using Python 1.4 or before, it is named "tkinter").
Step 3 - does Tkinter work?
Try the correct command for your Python version at the Python prompt:
>>> Tkinter._test() # note underscore in _test and uppercase 'T' for versions prior to V3.0
which worked, but still doesn't let me run masterwork, unless I can figure out how to run it inside a python shell.
I read in a readme (python22 readme?) to set a $PYTHONPATH to \Lib\lib-tk\
which I'm still working on.
yeah, so an executable based on .net would have been x10 easier.