Skip to content

Update dependency list in setup to avoid ModuleNotFound errors when using the package #15

@SvenLieber

Description

@SvenLieber

When reusing the script to create descriptive keys I get a ModuleNotFoundError from one of the dependencies.

from work_set_clustering import get_descriptive_keys_from_csv as get_descriptive_keys

results in

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[20], line 5
      3 import pandas as pd
      4 import utils
----> 5 from work_set_clustering import get_descriptive_keys_from_csv as get_descriptive_keys

File ~/repos/kbr/metabelgica/data-integration/py-mb-integration/lib/python3.8/site-packages/work_set_clustering/get_descriptive_keys_from_csv.py:8
      6 import os
      7 import json
----> 8 import enchant
      9 import hashlib
     10 import csv

ModuleNotFoundError: No module named 'enchant'

Even though enchant is part of the requirements.txt, it is not part of setup.py (I should use install_requires)

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