Jump to content

3 posts in this topic

Recommended Posts

Posted (edited)

I know this a little off topic from the forum but I wanted to run a Python script which is working on 2.7 on my terminal and it says Killed: 9 error each time. I have Python 2.7 from Telesphoreo and the script works in Pythonista. Thanks!

 

What I've tried:

Making it 0777 with owner mobile

Adding #!/usr/bin/env pythonto the top

Running Python /path/to/script.py

Adding import __future__ at the top but I get this error now

bash-4.0$ cd "/var/mobile/Projects/MathCheat/usr/bin";./canp2.py
./canp2.py: line 1:  1055 Killed: 9               import __future__
./canp2.py: line 2: syntax error near unexpected token `"\nrealCalc\n1.0.0"'
./canp2.py: line 2: `print("\nrealCalc\n1.0.0")'
bash-4.0$ 

 

Updated by bbReakMe
  • Like 1
  • Winner 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines