Problem

正在查看此主题的用户

Sir_Sergi

Sergeant at Arms
Hi,

I was trying to add a horse to PW using your guide Vornne, but when I try execute "build_module.bat" I have this problem:

插入代码块:
Traceback (most recent call last):
  File "build_module.py", line 5, in <module>
    import argparse
ImportError: No module named argparse
No se pudo encontrar C:\Python26\PA\*.pyc
ECHO está desactivado.
Press any key to exit...

Please, can you help me?

In other mods it works, but in this no, :sad:

Thanks.
 
Ok, I installed a new version and now I have another problem with the same file, which I didn't edit.

This is the problem:

插入代码块:
  File "build_module.py", line 163
    print e
          ^
SyntaxError: invalid syntax
No se pudo encontrar C:\Python31\PA\*.pyc
ECHO está desactivado.
Press any key to exit...

Please, help me, :sad:
 
You installed python 3.1, not version 2.7.* as I specified. PW can work with any version 2.7 or later, but less than 3.0: Python 3 is a new compatibility breaking series that is not compatible with most version 2 code. You should probably get Python 2.7.6, which is currently the latest in that series.

You should follow the official guides (linked in the sticky thread of this board) rather than try to muddle through on your own: the necessary Python version is specified there, among other things.
 
后退
顶部 底部