pip install - locale.Error: unsupported locale setting

后端 未结 9 1147
时光取名叫无心
时光取名叫无心 2020-12-07 06:58

Full stacktrace:

➜  ~ pip install virtualenv
Traceback (most recent call last):
  File \"/usr/bin/pip\", line 11, in 
    sys.exit(main())
           


        
9条回答
  •  甜味超标
    2020-12-07 07:26

    For Dockerfile, this works for me:

    RUN locale-gen en_US.UTF-8  
    ENV LANG en_US.UTF-8  
    ENV LANGUAGE en_US:en  
    ENV LC_ALL en_US.UTF-8  
    

    How to install locale-gen?

    docker ubuntu /bin/sh: 1: locale-gen: not found

提交回复
热议问题