cprn Posted October 23, 2017 Posted October 23, 2017 Hi. What do I have to do to run Flask with Python3 on Ricky? I followed the "little tutorial" but it seems to be using Python 2.7.5: example (this example will stop working in the future)I searched the forums before registration to make sure it's possible and found this: Python 3.6.1 is installed on Ricky at /usr/bin/python3.6 Flask is installed. You should be able to follow this little tutorial http://www.helionet.org/index/topic/27822-how-do-i-use-flask-on-johnny/?p=128919 to get a flask webapp that looks like this https://krydos1.heliohost.org/flask/ [...]
wolstech Posted October 23, 2017 Posted October 23, 2017 You can't. You need to move to Tommy, or develop for 2.7 on Ricky. From the wiki (http://wiki.helionet.org/Flask): It is worth to note that flask on python 3.6 is only supported on the Tommy server, and flask on python 2.7 is only supported on the Ricky server. 1
Krydos Posted October 24, 2017 Posted October 24, 2017 Flask on Ricky v1.0 was running on Python 3.6, but we've had such demand for python 2.7 (for some reason) that on Ricky v2.0 we decided to do django/flask on python 2.7 and django/flask on python 3.6 on Tommy. Each server can only have django/flask on one version of python so we decided to support both options rather than doubling up. That way people can pick the server that has what they need. 1
Recommended Posts