Package Details: python-langcodes 2.1.0-2

Git Clone URL: https://aur.archlinux.org/python-langcodes.git (read-only, click to copy)
Package Base: python-langcodes
Description: A toolkit for working with and comparing the standardized codes for languages
Upstream URL: https://github.com/LuminosoInsight/langcodes
Keywords: langcodes python
Licenses: Apache
Submitter: PumpkinCheshire
Maintainer: PumpkinCheshire
Last Packager: PumpkinCheshire
Votes: 0
Popularity: 0.000000
First Submitted: 2020-10-05 11:19
Last Updated: 2020-11-27 01:30

Latest Comments

lucaswerkmeister commented on 2020-11-27 01:18

After installing this package, I get an error when importing it:

$ python -c 'import langcodes'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.8/site-packages/langcodes/__init__.py", line 15, in <module>
    from langcodes.names import code_to_names, name_to_code
  File "/usr/lib/python3.8/site-packages/langcodes/names.py", line 2, in <module>
    import marisa_trie
ModuleNotFoundError: No module named 'marisa_trie'

I assume the package should declare a dependency on https://aur.archlinux.org/packages/python-marisa-trie. (After installing it manually, the import works.)