A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://lists.common-lisp.net/pipermail/clpython-devel/2009-July/000096.html below:

[clpython-devel] Cannot import

[clpython-devel] Cannot import [clpython-devel] Cannot importWillem Broekema metawilm at gmail.com
Fri Jul 24 11:22:44 UTC 2009
On Fri, Jul 24, 2009 at 12:14 PM, Seo Sanghyeon<sanxiyn at gmail.com> wrote:
> $ sbcl
> * (require 'clpython)
> * (clpython.app.repl:repl)
>>>> import sys
>>>> sys.path.append('/usr/lib/python2.5')
>>>> import types
> debugger invoked on a
> CLPYTHON.USER.BUILTIN.TYPE.EXCEPTION:|ImportError| in thread
>  ImportError: Could not find module/package `types'.Search paths
> tried: ".", "/usr/lib/python2.5"
>
> Any idea?

Assuming there is a file /usr/lib/python2.5/types.py, try adding a
backslash to the end: "/usr/lib/python2.5/".
I've been working on import improvements, so that many built-in
modules including "types" can be imported. I'll submit that shortly.

- Willem


More information about the Clpython-devel mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4