Skip to content

unknown locale: UTF-8 in preprocessing.py file #1

@ghost

Description

Hi,

I'm trying to execute the jupiter notebook Introduction. However I've been having an issue with the line "from dariah_topics import preprocessing as pre". I get always the following error:

Traceback (most recent call last):

File "/Users/MissOgra/Topics/dariah_topics/preprocessing.py", line 28, in
import regex
File "/Users/MissOgra/anaconda3/lib/python3.5/site-packages/regex.py", line 683, in
_pattern_type = type(_compile("", 0, {}))
File "/Users/MissOgra/anaconda3/lib/python3.5/site-packages/regex.py", line 436, in _compile
pattern_locale = _getlocale()[1]
File "/Users/MissOgra/anaconda3/lib/python3.5/locale.py", line 577, in getlocale
return _parse_localename(localename)
File "/Users/MissOgra/anaconda3/lib/python3.5/locale.py", line 486, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8

Any ideas about how can I resolve this problem?

Thank you.

Carolina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions