georgkrause / langcodes

A Python library for working with and comparing language codes.
MIT License
10 stars 5 forks source link

langcode install failure on python 3.13 #23

Open translation-robot opened 5 hours ago

translation-robot commented 5 hours ago

Hi,

I just tried to install langcodes on python 3.13 and the installation fails:

pip install langcodes Collecting langcodes Using cached langcodes-3.4.1-py3-none-any.whl.metadata (29 kB) Collecting language-data>=1.2 (from langcodes) Using cached language_data-1.2.0-py3-none-any.whl.metadata (4.3 kB) Collecting marisa-trie>=0.7.7 (from language-data>=1.2->langcodes) Using cached marisa_trie-1.2.0.tar.gz (415 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: setuptools in c:\python313\lib\site-packages (from marisa-trie>=0.7.7->language-data>=1.2->langcodes) (75.1.0) Using cached langcodes-3.4.1-py3-none-any.whl (182 kB) Using cached language_data-1.2.0-py3-none-any.whl (5.4 MB) Building wheels for collected packages: marisa-trie Building wheel for marisa-trie (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [5 lines of output] running bdist_wheel running build running build_clib building 'libmarisa-trie' library error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

translation-robot commented 5 hours ago

In fact it is the package marisa-trie that fails on python 3.13