Jump to content

setup.py/install.py won't run


NuclearFej

Recommended Posts

Hi guys. Trying to set up a development environment to contribute to Forge a little, but having a problem along the way. setup.py does not run correctly. This is what it spits back at me:

 

D:\Fej\Documents\GitHub\forge>fml\python\python_fml setup.py
=================================== Setup Start ================================
=
Setting up Forge ModLoader
Running command:
['cmd', '/C', 'ant', 'jenkinsbuild']
'ant' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
  File "setup.py", line 113, in <module>
    main()
  File "setup.py", line 33, in main
    setup_fml(mcp_dir, fml_dir, build_num)
  File "setup.py", line 63, in setup_fml
    if not run_command(BUILD, cwd=fml_dir):
  File "setup.py", line 98, in run_command
    self.logger.error("failed: %d", process.returncode)
NameError: global name 'self' is not defined

 

Anyone know what the problem is? Thanks!

Link to comment
Share on other sites

Okay, instead of running setup.py I tried running install.py from the install folder. (batch file doesn't work correctly, tiny little syntax error) Different problem:

Traceback (most recent call last):
  File "install\install.py", line 11, in <module>
    from forge import apply_forge_patches
ImportError: No module named forge
Press any key to continue . . .

How do I import the forge module? Or otherwise, what am I doing wrong?

 

Thanks!

Link to comment
Share on other sites

Im sorry you appear to stupid to understand the basic setup instructions for working on Forge.

As such I highly doubt you will provide anything of use to Forge itself without a major headake.

So ya... either learn how to problem solve, and read/follow directions. And try again later.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.