![]() For reference, I was trying to pip install something on an Amazon Linux AMI base Docker image for Python 3.6. Here is yet another solution, because none of these solutions worked for me. Sudo apk add python3-dev # for python3.x installsįor apt-cyg ( Cygwin.): apt-cyg install python-devel # for python2.x installsĪpt-cyg install python3-devel # for python3.x installs Sudo apk add python2-dev # for python2.x installs # scheme, which uses py2- and p圓- prefixes Sudo zypper in python3-devel # for python3.x installsįor apk ( Alpine.): # This is a departure from the normal Alpine naming Sudo dnf install python3-devel # for python3.x installsįor zypper ( openSUSE.): sudo zypper in python-devel # for python2.x installs Sudo yum install python3-devel # for python3.x installsįor dnf ( Fedora.): sudo dnf install python2-devel # for python2.x installs Sudo apt-get install python3-dev # for python3.x installsįor yum ( CentOS, RHEL.): sudo yum install python-devel # for python2.x installs Use your package manager to install them system-wide.įor apt ( Ubuntu, Debian.): sudo apt-get install python-dev # for python2.x installs Looks like you haven't properly installed the header files and static libraries for python dev. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |