chembl / chembl_webresource_client

Official Python client for accessing ChEMBL API
https://www.ebi.ac.uk/chembl/api/data/docs
Other
360 stars 95 forks source link

Can't import new_client from chembl_webresource_client.new_client #97

Closed raysteven closed 3 years ago

raysteven commented 3 years ago

When I tried to execute:

from chembl_webresource_client.new_client import new_client

this error comes out:

ImportError Traceback (most recent call last)

in () 1 # Import necessary libraries 2 import pandas as pd ----> 3 from chembl_webresource_client.new_client import new_client 4 frames /usr/local/lib/python3.7/dist-packages/chembl_webresource_client/cache.py in () 1 __author__ = 'mnowotka' 2 ----> 3 from requests_cache.backends.base import BaseCache, hashlib, _to_bytes 4 5 def create_key(self, request): ImportError: cannot import name 'hashlib' from 'requests_cache.backends.base' (/usr/local/lib/python3.7/dist-packages/requests_cache/backends/base.py)

Is there a fix for this?

eloyfelix commented 3 years ago

same issue than #96, we'll release a new version soon

raysteven commented 3 years ago

@eloyfelix so it's unusable for now?