bophono
bophono copied to clipboard
missing resource in wheel
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'