Skip to content

Commit 8c81748

Browse files
committed
fix: stopwordsiso requires setuptoosl
or it will raise errors: Exception occurred: File "/usr/local/lib/python3.12/site-packages/stopwordsiso/_core.py", line 8, in <module> STOPWORDS_FILE = pkg_resources.resource_filename(name, "stopwords-iso.json") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pkg_resources' has no attribute 'resource_filename' The full traceback has been saved in ***.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
1 parent b04cc2e commit 8c81748

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ dependencies = [
3535
"python-pinyin",
3636
"pyxdg",
3737
"stopwordsiso",
38+
"setuptools", # req by stopwordsiso, https://stackoverflow.com/a/39930983/4799273
3839
"wcwidth",
3940
"wordsegment",
4041
]

0 commit comments

Comments
 (0)