Skip to content

missing resource in wheel #2

@drupchen

Description

@drupchen

When installing bophono from pip, it fails on import with the following trace:

Traceback (most recent call last):
  File "/home/drupchen/PycharmProjects/publishers-cleanup/match_existing_place_RID.py", line 4, in <module>
        import bophono
  File "/home/drupchen/.local/lib/python3.6/site-packages/bophono/__init__.py", line 5, in <module>
        from .apitochinese import *
  File "/home/drupchen/.local/lib/python3.6/site-packages/bophono/apitochinese.py", line 7, in <module>
        zhuyin_csv = get_trie_from_file(_get_trie_path("zhuyin.csv"), "zhuyin_csv")
  File "/home/drupchen/.local/lib/python3.6/site-packages/bophono/sdtrie.py", line 131, in get_trie_from_file
        with open(filename, newline='', encoding="utf8") as csvfile:
FileNotFoundError: [Errno 2] No such file or directory: '/home/drupchen/.local/lib/python3.6/site-packages/bophono/data/chinese/zhuyin.csv'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions