DRKG
DRKG copied to clipboard
ModuleNotFoundError: No module named 'utils'
Hi - When I try running this notebook, the 'utils' module is not found. (I have the CWD set to the directory where I downloaded the DRKG) Where should this 'utils' module be ?
ModuleNotFoundError Traceback (most recent call last)
ModuleNotFoundError: No module named 'utils'
By "the directory where I downloaded the DRKG", do you mean the DRKG repo is in the CWD or the CWD is DRKG/?
the CWD is DRKG/ -------- Message d'origine --------De : Mufei Li [email protected] Date : 21.10.20 20:25 (GMT+01:00) À : gnn4dr/DRKG [email protected] Cc : jdauvill [email protected], Author [email protected] Objet : {Disarmed} Re: [gnn4dr/DRKG] ModuleNotFoundError: No module named 'utils' (#19) By "the directory where I downloaded the DRKG", do you mean the DRKG repo is in the CWD or the CWD is DRKG/?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
I think you can simply do
In [1]: pwd
Out[1]: '/Users/mufei/DRKG'
In [2]: from utils.utils import download_and_extract