This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: ihooks chokes on BioPython package
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, waterloo
Priority: normal Keywords:

Created on 2004-05-10 14:29 by waterloo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg60485 - (view) Author: mpalmer (waterloo) Date: 2004-05-10 14:29
I'm trying to use the BioPython package
( with Webware. Webware uses ihooks.
Ihooks chokes on importing Bio:

>>>import  ihooks
>>>import  Bio

gives an error.  Here is the traceback:

Traceback (most recent call last):
  File "", line 5, in ?
    from Bio import GenBank
  File "C:\PYTHON23\lib\", line 398, in
    q, tail = self.find_head_package(parent, str(name))
  File "C:\PYTHON23\lib\", line 434, in
    q = self.import_it(head, qname, parent)
  File "C:\PYTHON23\lib\", line 489, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "C:\PYTHON23\lib\", line 274, in
    m = self.hooks.load_package(name, filename, file)
  File "C:\PYTHON23\lib\", line 174, in
    return imp.load_module(name, file, filename, ("",
  File "C:\PYTHON23\Lib\site-packages\Bio\",
line 106, in ?
  File "C:\PYTHON23\Lib\site-packages\Bio\",
line 83, in _load_registries
    config_imports = __import__("Bio.config", {}, {},
  File "C:\PYTHON23\lib\", line 403, in
    self.ensure_fromlist(m, fromlist)
  File "C:\PYTHON23\lib\", line 470, in
    raise ImportError, "No module named " + subname
ImportError: No module named Bio.config.Bio



the import works.
msg61337 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-20 19:16
The bug is probably outdated. Please open a new issue if the code fails
under Python 2.5
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40241
2008-01-20 19:16:21christian.heimessetstatus: open -> closed
resolution: out of date
messages: + msg61337
nosy: + christian.heimes
2004-05-10 14:29:13waterloocreate