| Author |
Message |
![]() ![]() ![]() ![]()
Nanigadulocal
Hero Username: Nanigadulocal
Post Number: 17141 Registered: 09-2016 Posted From: 70.178.63.91
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 01:43 pm: |
![]() ![]() ![]() ![]() ![]() |
Biggboss:String[] command = new String[] {"/Users/anaconda2/Python.app", "/Users//Desktop/test.py"
;} Even this is not working |
![]() ![]() ![]() ![]()
Biggboss
Side Hero Username: Biggboss
Post Number: 8177 Registered: 08-2017 Posted From: 45.62.177.6
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 12:41 pm: |
![]() ![]() ![]() ![]() ![]() |
Oka sari idhi try cheyyi String[] command = new String[] {"/Users/anaconda2/Python.app", "/Users//Desktop/test.py"}; |
![]() ![]() ![]() ![]()
Speaker
Junior Artist Username: Speaker
Post Number: 762 Registered: 01-2019 Posted From: 192.197.178.2
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 12:39 pm: |
![]() ![]() ![]() ![]() ![]() |
Biggboss:
novnav123 nG le...Bigbuss gaa... kikiki NTRRRRRR RR - RamaRao R - Raamudu R - Raavanudu RR - Raithe Raaaaaaaaaaaaaaaaaaaaju |
![]() ![]() ![]() ![]()
Nanigadulocal
Hero Username: Nanigadulocal
Post Number: 17140 Registered: 09-2016 Posted From: 161.168.251.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 12:37 pm: |
![]() ![]() ![]() ![]() ![]() |
Biggboss: Terminal lo proper ga behave chestundhi, so local ga Java nundi execute chesthey pani cheyyatledhu? /// S anthee ee error local ga vastundha or remote machines meedha na? // Local lonee issue
|
![]() ![]() ![]() ![]()
Biggboss
Side Hero Username: Biggboss
Post Number: 8173 Registered: 08-2017 Posted From: 45.62.177.6
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 12:11 pm: |
![]() ![]() ![]() ![]() ![]() |
Nanigadulocal:same same path terminal lo kottanu it is working
another question Terminal lo proper ga behave chestundhi, so local ga Java nundi execute chesthey pani cheyyatledhu? ee error local ga vastundha or remote machines meedha na? |
![]() ![]() ![]() ![]()
Nanigadulocal
Hero Username: Nanigadulocal
Post Number: 17139 Registered: 09-2016 Posted From: 161.165.196.109
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:45 am: |
![]() ![]() ![]() ![]() ![]() |
Baatasari:Python.app i dont think is the right exec at all
 |
![]() ![]() ![]() ![]()
Nanigadulocal
Hero Username: Nanigadulocal
Post Number: 17138 Registered: 09-2016 Posted From: 161.165.196.109
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:45 am: |
![]() ![]() ![]() ![]() ![]() |
Biggboss:Are you sure this is the right Python executable?
antee ?? same same path terminal lo kottanu it is working |
![]() ![]() ![]() ![]()
Baatasari
Side Hero Username: Baatasari
Post Number: 2037 Registered: 10-2018 Posted From: 71.187.246.172
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:36 am: |
![]() ![]() ![]() ![]() ![]() |
Nanigadulocal:iam doing it frm mac
Python.app i dont think is the right exec at all.. anyways, if you dont see any .exe then its permission issue.. stackoverflow also says the same.. permissions change cheyadame.. also, i dont think you can use a Anaconda env like this, standalone exec.. thats one of disadvantages of Anaconda env.. it has its own way of creating the env, maintain versions etc.. and with that, there will be restrictions on how you access the .exe.. brahma satyam jagan-mithyä jivo brahmaiva näparah |
![]() ![]() ![]() ![]()
Biggboss
Side Hero Username: Biggboss
Post Number: 8172 Registered: 08-2017 Posted From: 172.58.39.184
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:32 am: |
![]() ![]() ![]() ![]() ![]() |
Python.app is equivalent to Setup.exe on Windows Are you sure this is the right Python executable? Permission issues occur if the files does not have right permissions Try what j_h suggested |
![]() ![]() ![]() ![]()
Nanigadulocal
Hero Username: Nanigadulocal
Post Number: 17137 Registered: 09-2016 Posted From: 161.168.251.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:32 am: |
![]() ![]() ![]() ![]() ![]() |
Baatasari: it should be python<version>.exe as executable
iam doing it frm mac |
![]() ![]() ![]() ![]()
Baatasari
Side Hero Username: Baatasari
Post Number: 2033 Registered: 10-2018 Posted From: 71.187.246.172
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:27 am: |
![]() ![]() ![]() ![]() ![]() |
Nanigadulocal:String command = "/Users/anaconda2/Python.app /Users//Desktop/test.py"; Process p = Runtime.getRuntime().exec(command);
are you sure this is even a python executable ? /Users/anaconda2/Python.app it should be python<version>.exe as executable, or you convert a script to standalone executable.. brahma satyam jagan-mithyä jivo brahmaiva näparah |
![]() ![]() ![]() ![]()
Jambalahaart_raja
Side Hero Username: Jambalahaart_raja
Post Number: 9348 Registered: 07-2008 Posted From: 206.15.106.198
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:19 am: |
![]() ![]() ![]() ![]() ![]() |
Jambalahaart_raja:chmod u+x "/Users/anaconda2/Python.app /Users//Desktop/test.py"
Correction - chmod u+x "/Users/anaconda2/Python.app" chmod u+x "/Users//Desktop/test.py" You will need permissions to start both Python.app environment, and test.py executable. "Chill Bro. I told you to let it go!!" - The Budhha. |
![]() ![]() ![]() ![]()
Jambalahaart_raja
Side Hero Username: Jambalahaart_raja
Post Number: 9347 Registered: 07-2008 Posted From: 206.15.106.198
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:16 am: |
![]() ![]() ![]() ![]() ![]() |
Your JVM Runtime doesn't have sufficient permissions to start a new Process by executing that Python Script. error=13 is insufficient permissions. either execute chmod u+x "/Users/anaconda2/Python.app /Users//Desktop/test.py" and if that fails too, see if you can pass Admin Username and Password while executing that Python script. "Chill Bro. I told you to let it go!!" - The Budhha. |
![]() ![]() ![]() ![]()
Nanigadulocal
Hero Username: Nanigadulocal
Post Number: 17136 Registered: 09-2016 Posted From: 161.167.229.16
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:09 am: |
![]() ![]() ![]() ![]() ![]() |
Whitecollar:Where is the user ID and password re?
asthamanuu ivvanuu .. bump to BB .. |
![]() ![]() ![]() ![]()
Whitecollar
Megastar Username: Whitecollar
Post Number: 23149 Registered: 03-2016 Posted From: 76.125.76.78
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:06 am: |
![]() ![]() ![]() ![]() ![]() |
Where is the user ID and password re? veni.. vidi.. vici..
|
![]() ![]() ![]() ![]()
Nanigadulocal
Hero Username: Nanigadulocal
Post Number: 17135 Registered: 09-2016 Posted From: 161.167.229.16
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, January 28, 2019 - 11:03 am: |
![]() ![]() ![]() ![]() ![]() |
bhayaa iam trying to call a python script from Java String command = "/Users/anaconda2/Python.app /Users//Desktop/test.py"; Process p = Runtime.getRuntime().exec(command); iam getting below error Cannot run program "/Users/anaconda2/Python.app": error=13, Permission denied ee error =13 endhi ?? google chesthuntee ... not giving me gud answers for ex : https://stackoverflow.com/questions/32735668/permission-deni ed-error-13-python-on-hadoop |