Skip to content Skip to sidebar Skip to footer

Pip Fails Everytime I Try To Install Any Packages

My pip didn't work for any package: regex_3/_regex.c:46:20: fatal error: Python.h: No such file or directory #include 'Python.h' ^ compilation ter

Solution 1:

You should be able to see the list of held packages by:

apt-mark showhold 

and then un-hold them by

sudo apt-mark unhold <package name>

After that, you should be able to remove the conflicting packages and then reinstall all.

Try removing all the unmet dependencies and then reinstalling.

Post a Comment for "Pip Fails Everytime I Try To Install Any Packages"