Skip to content

FileNotFoundError: [Errno 2]: No such file or directory: '/usr/local/lib/python3.6/dist-packages/pythainlp/corpus/thailand_provinces_th.csv' #486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wannaphong opened this issue Nov 16, 2020 · 0 comments · Fixed by #487
Labels
bug bugs in the library

Comments

@wannaphong
Copy link
Member

Describe the bug
I installed from PyPI. I could not use pythainlp.corpus.provinces(). It not found thailand_provinces_th.csv.

To Reproduce
Steps to reproduce the behavior:

  1. from pythainlp.corpus import provinces
  2. th_provinces = provinces()

Source Code

from pythainlp.corpus import provinces
th_provinces = provinces()

Desktop (please complete the following information):

  • OS: Linux
  • Python Version 3.6
  • Version 2.2.4
@wannaphong wannaphong added the bug bugs in the library label Nov 16, 2020
wannaphong added a commit that referenced this issue Nov 16, 2020
Fix: Not found thailand_provinces_th.csv #486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs in the library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant