Skip to content

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

@rdrivera5

Description

@rdrivera5

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions