Locale issues 2020.11

Hello,
I am unsure if this is the correct place where to post my issue.
I am having problem running whatever kind of commands on qiime2-2020.11.
I've tryed already to re-download anaconda, python3.7 and qiime2, but independently by the command I run I have something similar to that:

qiime feature-table tabulate-seqs
--i-data rep-seqs_281.qza
--o-visualization rep-seqs_281.qzv

QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.

Traceback (most recent call last):
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/bin/qiime", line 11, in
sys.exit(qiime())
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/click/core.py", line 1254, in invoke
cmd_name, cmd, args = self.resolve_command(ctx, args)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/click/core.py", line 1297, in resolve_command
cmd = self.get_command(ctx, cmd_name)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/commands.py", line 100, in get_command
plugin = self._plugin_lookup[name]
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/commands.py", line 76, in _plugin_lookup
import q2cli.core.cache
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/core/cache.py", line 406, in
CACHE = DeploymentCache()
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/core/cache.py", line 61, in init
self._state = self._get_cached_state(refresh=refresh)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/core/cache.py", line 107, in _get_cached_state
self._cache_current_state(current_requirements)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/core/cache.py", line 200, in _cache_current_state
state = self._get_current_state()
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/core/cache.py", line 238, in _get_current_state
plugin_manager = qiime2.sdk.PluginManager()
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/sdk/plugin_manager.py", line 54, in new
self._init(add_plugins=add_plugins)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/sdk/plugin_manager.py", line 81, in _init
plugin = entry_point.load()
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/pkg_resources/init.py", line 2472, in load
return self.resolve()
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/pkg_resources/init.py", line 2478, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2_diversity/init.py", line 11, in
from ._beta import (beta, beta_phylogenetic, bioenv,
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2_diversity/_beta/init.py", line 12, in
from ._visualizer import bioenv, beta_group_significance, mantel, adonis
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2_diversity/_beta/_visualizer.py", line 25, in
from natsort import natsorted
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/natsort/init.py", line 3, in
from natsort.natsort import (
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/natsort/natsort.py", line 688, in
os_sort_key = os_sort_keygen()
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/natsort/natsort.py", line 650, in os_sort_keygen
key=key, alg=ns.LOCALE | ns.PATH | ns.IGNORECASE
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/natsort/natsort.py", line 177, in natsort_keygen
input_transform = utils.input_string_transform_factory(alg)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/natsort/utils.py", line 503, in input_string_transform_factory
thou=re.escape(get_thousands_sep()), nodecimal=nodecimal
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/natsort/compat/locale.py", line 73, in get_thousands_sep
loc = ".".join(locale.getlocale())
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/locale.py", line 581, in getlocale
return _parse_localename(localename)
File "/Users/alex_diver/opt/miniconda3/envs/qiime2-2020.11/lib/python3.6/locale.py", line 490, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8

What am I doing wrong?
Thank you in advance for your help!

Hi @Alessandro_Lazzaro,

I would try running the command, locale on your terminal to check where your computer thinks you are. I had a similar issue last year, but you may need to explore setting your locale and location variables.

Best,
Justine

2 Likes

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.