git bash error

  • i_am_sandwich
    18th May 2017 Member 0 Permalink

    when i try to run the command scons.py i get this error how can i fix it 

    $ scons.py
    scons: *** SCons version 2.4.1 does not run under Python version 3.6.0.
    Python 3 is not yet supported.

    and if i ignor this and go on to the next step i get this 

    $ mingw-get install gcc g++ mingw32-libbz2 bzip2 mingw32-libz zlib mingw32-pthreads-w32
    bash: mingw-get: command not found

    how can i fix these 

    Edited once by i_am_sandwich. Last: 18th May 2017
  • LBPHacker
    18th May 2017 Developer 0 Permalink

    I think your PATH might have overflowed. Type PATH in a command prompt and tell us the result. There's probably tons of useless crap and duplicate entries in there.

  • i_am_sandwich
    18th May 2017 Member 0 Permalink

    @LBPHacker (View Post)

     C:\Users\J>PATH=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Git\cmd;C:\Users\J\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\J\AppData\Local\Programs\Python\Python36-32\

     

    that is the output

  • jacob2
    18th May 2017 Member 0 Permalink
    It looks like you didn't add MinGW to the path. It needs to be in there.

    Also, you need to add Python 2 to the path, not Python 3. Python 3 will not work.

    I have heard that MinGW no longer functions for many people. You could try continuing, if it fails you may have to use Visual Studio instead.
  • i_am_sandwich
    18th May 2017 Member 0 Permalink

    @jacob2 (View Post)

     how do i download python 2? 

  • jacob2
    18th May 2017 Member 0 Permalink
    It is in the guide, follow the instructions
  • i_am_sandwich
    18th May 2017 Member 0 Permalink

    @jacob2 (View Post)

     when i add it to path is dissapers when i go back into it

  • LBPHacker
    18th May 2017 Developer 0 Permalink

    Try this in a command prompt:

    setx PATH "C:\Python27;C:\Python27\Scripts;C:\MinGW\bin;%PATH%"

    Then close the prompt and open a new one. That should fix it.

     

    Also, if any of your programs stops working after you do this, just bump this thread. It shouldn't happen, but meh.

    Edited once by LBPHacker. Last: 18th May 2017
  • i_am_sandwich
    18th May 2017 Member 0 Permalink

    @LBPHacker! i have a folder full of files and tpt.exe id this right?

    Edited 2 times by i_am_sandwich. Last: 18th May 2017
  • LBPHacker
    18th May 2017 Developer 0 Permalink

    So does it work now? mingw and scons and all that? And by bumping the thread I meant tell us.