Jump to content

Recommended Posts

Posted

 

Hi

 

I am developper (strong knowledge in Unix, Python, Web)

 

I have setup a cron job. On my johnny cpannel.

 

/home/marcalex/scripts/download_data.py >/home/marcalex/scripts/log 2>&1

 

The cron job won't run and in log I get :

 

/usr/local/cpanel/bin/jailshell: /home/marcalex/scripts/download_data.py: /usr/local/bin/python3.4: bad interpreter: No such file or directory

 

Where the shebang in download_data.py is : #!/usr/local/bin/python3.4

 

I understand from the log that there is no python3.4 available on johnny but that's not what I read here :

http://www.helionet.org/index/topic/23326-answered-python-issue/?do=findComment&comment=114872

 

So my question is :

 

Is python 3 available on Johnny if so what shebang could I use ?

Else where can I find a list of all the python shebang available to me.

 

Thanks for your response.

Posted

Johnny has been reformatted and upgraded completely since that post. Currently Johnny only has one version of python 2.6.6 located at /usr/bin/python. No one has asked for any other versions yet.

Posted

 

Thanks for your answer, that's what I expected.

 

Everything works for me.

 

Many thanks for your time and considerations.

 

De : Heliohost Support

Envoye le :vendredi 14 avril 2017 16:39

A : marc.alexandre.blanchard.pro@gmail.com

Objet :Re: [Hh#86347] Python Unavailable On Johnny

 

Johnny has been reformatted and upgraded completely since that post. Currently Johnny only has one version of python 2.6.6 located at /usr/bin/python. No one has asked for any other versions yet.

 

You may view the status of your ticket by visiting:

 

http://www.helionet.org/index/index.php?showtopic=27874

 

Thank you,

Heliohost support

http://www.heliohost.org/

http://www.helionet.org/

  • 2 months later...
Posted

Yes: Python 3.6

 

I've been doing my testing with Python 3.6 on Windows and then uploading here for deployment.

 

I saw the post http://www.helionet.org/index/topic/23326-answered-python-issue/ that gave the Python 3 shebang (#!/usr/local/bin/python3.4) and could not figure out why it failed until reading this post. I explored other free hosting sites but, I must say, your service and design and control panel are among the very best I could find. So, if you can provide any version of Python 3 under Johnny, I'd be very grateful because it will save me a ton of work coding version dependent logic.

 

Thanks!

Posted

It works great -- thank you so much! I'm very impressed with your service. I didn't think it likely that you'd respond, let alone over a holiday weekend. Much appreciation.

Guest
This topic is now closed to further replies.
×
×
  • Create New...