0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

pip installで「'ascii' codec can't decode」の回避

Posted at

VPS上のubuntu 14.04 LTSにPython環境を整備中に、あるモジュールのpip installでハマったのでメモ。

こんなエラーが出現。

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 472: ordinal not in range(128)
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lb6kda75/

色々試した結果、

sudo apt-get install language-pack-ja

で事なきを得た。基本的な事だけど意外と忘れる。

0
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?