python error

正在查看此主题的用户

octoburn

Grandmaster Knight
alright, I'm trying to learn how do use python, but every time I try to compile my mod after editing, I get this error in the python window:
'python' is not recognised as an internal or external command, operable program or batch file

any idea what I did wrong? I set the module system up going by Armagan's instructions in the documentation forum.
 
had the same error, you have to change the content of build_module.bak to:
插入代码块:
@echo off
set OLDPATH=%PATH%
set PATH=C:\Python24;%PATH%

python process_strings.py
python process_sounds.py
python process_particle_sys.py
python process_skins.py
python process_items.py
python process_map_icons.py
python process_factions.py
python process_scene_props.py
python process_scenes.py
python process_troops.py
python process_party_tmps.py
python process_parties.py
python process_quests.py
python process_scripts.py
python process_mission_tmps.py
python process_game_menus.py
python process_simple_triggers.py
python process_dialogs.py

set PATH=%OLDPATH%
del *.pyc
echo.
echo ______________________________
echo.
echo Script processing has ended.
echo Press any key to exit. . .
pause>nul

Janus posted that somewhere, but I don't know the thread any more
 
后退
顶部 底部