HelioHost Posted April 14, 2017 Posted April 14, 2017 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.
Krydos Posted April 14, 2017 Posted April 14, 2017 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.
HelioHost Posted April 17, 2017 Author Posted April 17, 2017 Thanks for your answer, that's what I expected. Everything works for me. Many thanks for your time and considerations. De : Heliohost SupportEnvoye le :vendredi 14 avril 2017 16:39A : marc.alexandre.blanchard.pro@gmail.comObjet :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 supporthttp://www.heliohost.org/http://www.helionet.org/
Krydos Posted April 19, 2017 Posted April 19, 2017 Let us know if there is any alternate version of Python that you would like to have available.
darden Posted July 1, 2017 Posted July 1, 2017 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!
Krydos Posted July 2, 2017 Posted July 2, 2017 Python 3.6.1 is now available on Johnny at /usr/bin/python3.6
darden Posted July 2, 2017 Posted July 2, 2017 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.
Recommended Posts