MC Modding
Please register and join the community!


Join the forum, it's quick and easy

MC Modding
Please register and join the community!
MC Modding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[Answered] Opening decompile.bat gives an error

2 posters

MC Modding :: Help :: Help

Go down

[Answered] Opening decompile.bat gives an error Empty [Answered] Opening decompile.bat gives an error

Post by mastereric 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
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

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

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

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

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

http://www.mcmodding.4umer.com

Back to top Go down

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

Post by mastereric 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.
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

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

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

MC Modding :: Help :: Help

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