MC Modding
Please register and join the community!

[Answered] Opening decompile.bat gives an error

MC Modding :: Help :: Help

View previous topic View next topic Go down

[Answered] Opening decompile.bat gives an error

Post by mastereric on Wed Oct 26, 2011 12:17 am

I was setting up MCP according to theundecidedt's youtube video.
When I got to running decompile.bat, I did so and this appeared in the resulting window:
Code:
Traceback (most recent call last):
File "runtime\decompile.py:, line 10, in <module>
from commands import Commands
File "C:\Documents and Settings\Eric Games\Desktop\MCP_mod1\runtime\commands.py", line 15, in <module>
import urllib, urllib2
File "C:\Python26\Lib\urllib.py", line 26, in<module>
import socket
File "C:\Python26\Lib\socket.py", line 46, in <module>
import _socket
ImportError: Module use of python26.dll conflicts with this version of Python.
Press any key to continue...
pressing a key closes the window.
What do I do to fix this?


Last edited by mastereric on Wed Oct 26, 2011 2:43 am; edited 1 time in total
avatar
mastereric
Member

Posts : 30
Join date : 2011-10-26

View user profile

Back to top Go down

Re: [Answered] Opening decompile.bat gives an error

Post by Strengthowns on Wed Oct 26, 2011 1:41 am

You have a wrong version of python I assume. You could try getting a completely new MCP.
avatar
Strengthowns
Admin

Posts : 79
Join date : 2011-06-14
Location : Right here!

View user profile http://www.mcmodding.4umer.com

Back to top Go down

Re: [Answered] Opening decompile.bat gives an error

Post by mastereric on Wed Oct 26, 2011 2:40 am

I have Python 2.7 on my computer.
I looked at my Enviroment Variables and one called PYTHONPATH had the locations of folders in C:\Python26. Just Changed each to C:\Program Files\Python27 and now decompile runs correctly!
Question: Should it say 'Modded Client! Unpredictable Results!' if I deleted META-Inf and added Modloader?
EDIT: NVM theundecidedt has it the same way in his video. Marked topic as Answered.
avatar
mastereric
Member

Posts : 30
Join date : 2011-10-26

View user profile

Back to top Go down

Re: [Answered] Opening decompile.bat gives an error

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


MC Modding :: Help :: Help

 
Permissions in this forum:
You cannot reply to topics in this forum