LoginSignup
24
13

More than 3 years have passed since last update.

ubuntsuでpip installしたら「error: command 'x86_64-linux-gnu-gcc' failed with exit status 1」と出た

Posted at

実行コマンド

pip3 install  -U psutil

エラーメッセージ

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

対処方法

python3-dev が必要な模様。3系じゃなければpython-dev

sudo apt-get install build-essential libssl-dev libffi-dev python3-dev
24
13
0

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
24
13