HelioHost Posted March 24, 2019 Posted March 24, 2019 Username: eeljuri, Server: Johnny, Main domain: eeljuri.heliohost.org My user is: eeljuri When I put the line in my program: import psycopg2bring back "Internal Server Error" #! / usr / bin / python# - * - coding: cp1252 - * - import sysimport urllibimport cgiimport cgitbimport psycopg2 cgitb.enable () print 'Content-type: text / html'print # Prints an empty line, to end the headersprintprint 'Hello, world!' Thank you, --Ernesto Contreras Eljuri.ConsultorTlf.: 0412-722.53.32
Krydos Posted March 25, 2019 Posted March 25, 2019 Would you prefer python 2.7 or would you rather use python 3.6?
HelioHost Posted March 25, 2019 Author Posted March 25, 2019 Python 2.7 ThankOn Mar 24, 2019 9:17 PM, "Heliohost Support" wrote: > Would you prefer python 2.7 or would you rather use python 3.6?>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic5410>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Krydos Posted March 25, 2019 Posted March 25, 2019 Psycopg2 has been installed on python 2.7 on Johnny for you. You can see the currently installed modules with this link https://krydos2.heliohost.org/cgi-bin/modules27.py
HelioHost Posted March 25, 2019 Author Posted March 25, 2019 Thank you for your help! I am ready. El dom., 24 mar. 2019 a las 22:22, Heliohost Support ()escribio: > Psycopg2 has been installed on python 2.7 on Johnny for you. You can see> the currently installed modules with this link> https://krydos2.heliohost.org/cgi-bin/modules27.py>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic=35410>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>> -- Ernesto Contreras Eljuri.ConsultorTlf.: 0412-722.53.32
Recommended Posts