This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bowtie2 perl:warning:Setting local failes

Hi!

I need to work with bowtie2 by using anaconda2. However, I got retrieved this message:

bowtie2 -h
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_PAPER = "en_US.UTF-8",
    LC_ADDRESS = "en_US.UTF-8",
    LC_MONETARY = "en_US.UTF-8",
    LC_NUMERIC = "en_US.UTF-8",
    LC_TELEPHONE = "en_US.UTF-8",
    LC_IDENTIFICATION = "en_US.UTF-8",
    LC_MEASUREMENT = "en_US.UTF-8",
    LC_CTYPE = "UTF-8",
    LC_TIME = "en_US.UTF-8",
    LC_NAME = "en_US.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8")

Could you tell me what's wrong? I tried to run: sudo locale-gen en_US.UTF-8, but I don't have the proper rights/permissions. Thank you in advance for your help.

linux bowtie2

If you don't have permissions, it is likely you need to contact the administrator of that computer to fix the problem

1 answer

I by default have export LC_ALL=en_US.UTF-8 in by ~.bashrc, which you can try. Still, Falling back to a fallback locale ("en_US.UTF-8") this is what you already have, it is only a warning. Afaik you do not need sudo to change your locale for your profile, at least I can do it for my profile without sudo on our HPC.

Log in to answer this question.