cy99 / shedskin

Automatically exported from code.google.com/p/shedskin
0 stars 0 forks source link

*ERROR* basedados.py:11: cannot locate module: psycopg2 #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have a module (basedados.py) that starts as:
"""
#-*- coding: iso-8859-15 -*-

import ConfigParser
import psycopg2
"""

It runs fine in Python, as stand-alone or when called from other modules.
If I try:
$ shedskin basedados
*** SHED SKIN Python-to-C++ Compiler 0.1.1 ***
Copyright 2005-2009 Mark Dufour; License GNU GPL version 3 (See LICENSE)

*ERROR* basedados.py:11: cannot locate module: psycopg2

Even if I remove every line from the module except the 'import psycopg2'
statement, the error is the same.

I'm using Slackware Linux 12.1, python 2.5.2 and shedskin 0.1.1

Original issue reported on code.google.com by luisl...@gmail.com on 9 Jul 2009 at 2:09

GoogleCodeExporter commented 9 years ago
thanks for reporting. 

unfortunately, shedskin only supports a handful of the standard library 
modules..
please see the tutorial for an explanation of this and other limitations.

Original comment by mark.duf...@gmail.com on 10 Jul 2009 at 2:25