Jump to content

[HH#355098] Problems when importing the psycopg2 library into Python


Recommended Posts

Posted

Username: eeljuri, Server: Johnny, Main domain: eeljuri.heliohost.org

 

My user is: eeljuri

 

When I put the line in my program:

import psycopg2

bring back

"Internal Server Error"

 

#! / usr / bin / python

# - * - coding: cp1252 - * -

 

import sys

import urllib

import cgi

import cgitb

import psycopg2

 

cgitb.enable ()

 

print 'Content-type: text / html'

print # Prints an empty line, to end the headers

print

print 'Hello, world!'

 

Thank you,

 

--

Ernesto Contreras Eljuri.

Consultor

Tlf.: 0412-722.53.32

Posted

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.

Consultor

Tlf.: 0412-722.53.32

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