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

@wannaphong

Description

@wannaphong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbugs in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions