gnn4dr / DRKG

A knowledge graph and a set of tools for drug repurposing
Apache License 2.0
565 stars 153 forks source link

ImportError: cannot import name 'download_and_extract' from 'utils' (/usr/local/lib/python3.10/dist-packages/utils/__init__.py) #38

Open rdrivera5 opened 1 year ago

rdrivera5 commented 1 year ago

Hi I am currently trying to replicate your methods using the notebooks that you have provided. I tried running the Jaccard similarity score notebook and I stumbled upon the following errors. Is there any work around?

ImportError Traceback (most recent call last) in <cell line: 6>() 4 import sys 5 sys.path.insert(1, '../utils') ----> 6 from utils import download_and_extract 7 download_and_extract() 8 drkg_file = '../data/drkg/drkg.tsv'

ImportError: cannot import name 'download_and_extract' from 'utils' (/usr/local/lib/python3.10/dist-packages/utils/init.py)