Linuxbrew / legacy-linuxbrew

:skull: This repository is defunct, because it has been split into https://github.com/Linuxbrew/brew and https://github.com/Linuxbrew/homebrew-core
http://linuxbrew.sh
Other
2.23k stars 297 forks source link

thefuck depends python-dev and psutil => :python #1082

Closed andrewrynhard closed 6 years ago

andrewrynhard commented 8 years ago
$ brew install thefuck
...
fatal error: Python.h: No such file or directory
...
sjackman commented 8 years ago

Related to https://github.com/Linuxbrew/linuxbrew/issues/1038 Try one of

brew install python
sudo apt-get install python-dev
sudo yum install python-dev
andrewrynhard commented 8 years ago

I also needed

sudo yum install epel-release
sudo yum install python-psutil 
sjackman commented 8 years ago

pip install psutil may also resolve that issue.