[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bkchem-user] Additional dependency in OASA 1.3.0
From: |
Beda Kosata |
Subject: |
Re: [Bkchem-user] Additional dependency in OASA 1.3.0 |
Date: |
Wed, 04 Mar 2009 20:31:12 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080914) |
Hi Noel,
Thanks for reporting this issue.
The mhash library is only required to generate InChIKey from InChI.
Unfortunately it gets dragged in by another module (name_database) which
you probably do not need anyway :)
Please feel free to get rid of this problem by removing "name_database"
from the __init__ file. I will try to come up with a different scheme
for importing oasa which does not suffer from this problem of unrelated
dependencies breaking the installation.
Best regards
Beda
p.s.- In Python 2.5 the SHA-256 hash is already included, so there it is
no problem. This error only appears for Python 2.4 for which the mhash
library is needed.
Noel O'Boyle wrote:
> I get the following error when importing OASA 1.3.0:
>
>>>> import oasa
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "C:\Python24\Lib\site-packages\oasa\__init__.py", line 41, in ?
> import name_database
> File "C:\Python24\Lib\site-packages\oasa\name_database.py", line 23, in ?
> import inchi_key
> File "C:\Python24\Lib\site-packages\oasa\inchi_key.py", line 28, in ?
> raise Exception( "python-mhash library was not found, make sure it is
> instal
> led")
> Exception: python-mhash library was not found, make sure it is installed
>
> Is this required?
>
> Regards,
> Noel
>
>
> _______________________________________________
> Bkchem-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/bkchem-user
>