java2python icon indicating copy to clipboard operation
java2python copied to clipboard

j2py cannot be recognized as internal or external command

Open SheerazGul opened this issue 6 years ago • 5 comments

when i am trying to finally convert the files then it cannot recognize j2py as a command in cmd

SheerazGul avatar Oct 03 '19 04:10 SheerazGul

The latest installation of j2py bin in windows stays in \java2python\build\scripts-3.7\ folder. Open j2py in text editor to see Python script there.

prapkengr avatar Dec 19 '19 10:12 prapkengr

Still getting the same error.

phs-sakshi avatar Jul 26 '20 15:07 phs-sakshi

fixed by using the command: "python j2py file_path"

phs-sakshi avatar Jul 28 '20 10:07 phs-sakshi

@B417037 could you tell me the steps you've followed? I still get errors.

raul-parada avatar Feb 09 '21 10:02 raul-parada

Open j2py (in my case C:\java2python\build\scripts-3.7\j2py ) in a text editor. First line is commented Update it to the python path in your system. e.g., Now, I have first line #!C:\Users<my-user-name>\AppData\Local\Programs\Python\Python37-32\python.exe

prapkengr avatar Feb 12 '21 14:02 prapkengr