python - Install pip in docker - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/36611052/install-pip-in-docker) (https://cdn.sstatic.net/Shared/stacks.css?v=619122b796ae) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=02dcb5186b90) (Feed for question 'Install pip in docker') (/feeds/question/36611052) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) (1) (undefined) (2.0) Sign up with Google Sign up with GitHub OR (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) (1) (undefined) Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f36611052%2finstall-pip-in-docker) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f36611052%2finstall-pip-in-docker) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f36611052%2finstall-pip-in-docker) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f36611052%2finstall-pip-in-docker) Sign up (/) Home (/questions) Questions (/tags) Tags (/users) Users (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Labs (/jobs?source=so-left-nav) Jobs (/beta/discussions) Discussions Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=overflowai-learn-more) Learn more (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams Get early access and see previews of new features. (https://stackoverflow.co/labs/) Learn more about Labs (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/36611052/install-pip-in-docker) Install pip in docker (/questions/ask) Ask Question (2016-04-13 23:02:50Z) Asked 8 years, 4 months ago Modified (?lastactivity) (2024-03-31 09:07:54Z) 5 months ago (Viewed 284,098 times) Viewed 284k times This question shows research effort; it is useful and clear (70:3:31e,16:4b151cc6493b1016,10:1725238500,16:9b174e242bcb0ba7,8:36611052,2df0c0998880358abc70e8a8eb9d9472621312e737884d00dc22c02a2d055aae) 70 (This question does not show any research effort; it is unclear or not useful) (70:3:31e,16:1d4eacd1cd3e98ab,10:1725238500,16:30ce3f28624f77a3,8:36611052,b380b3486b3bac5f4d86be91438a5bbf677f22965d582564b9705cdc7d5f2a14) Save this question. (/posts/36611052/timeline) Show activity on this post. I'm not able to install pip in Docker. Here's my Dockerfile: FROM ubuntu:14.04 # Install dependencies RUN apt-get update -y RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5 php5-mcrypt php5-mysql python3.4 python-pip When building, I get: Sending build context to Docker daemon 109.6 kB Step 1 : FROM ubuntu:14.04 ---> b549a9959a66 Step 2 : RUN apt-get update -y ---> Using cache ---> 84577471562c Step 3 : RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5 php5-mcrypt php5-mysql python3.4 python-pip ---> Running in 49252a6d0eb1 Reading package lists... Building dependency tree... Reading state information... python3.4 is already the newest version. The following extra packages will be installed: apache2-bin apache2-data binutils build-essential ca-certificates cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8 git-man krb5-locales libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libasan0 libasn1-8 -heimdal libatomic1 libc-dev-bin libc6-dev libcloog-isl4 libcurl3 libcurl3-gnutls libdpkg-perl libedit2 liberror-perl libfakeroot libfile-fcntllock-perl libgcc-4.8 -dev libgmp10 libgomp1 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5 -heimdal libidn11 libisl10 libitm1 libk5crypto3 libkeyutils1 libkrb5-26 -heimdal libkrb5-3 libkrb5support0 libldap-2.4 -2 libmcrypt4 libmpc3 libmpfr4 libmysqlclient18 libpython-stdlib libpython2.7 -minimal libpython2.7 -stdlib libquadmath0 libroken18-heimdal librtmp0 libsasl2-2 libsasl2-modules libsasl2-modules-db libstdc++-4.8 -dev libtimedate-perl libtsan0 libwind0-heimdal libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxmuu1 linux-libc-dev lsof make manpages manpages-dev mysql-common openssh-client openssl patch php5-cli php5-common php5-json php5-readline psmisc python python-chardet python-chardet-whl python-colorama python-colorama-whl python-distlib python-distlib-whl python-html5lib python-html5lib-whl python-minimal python-pip-whl python-pkg-resources python-requests python-requests-whl python-setuptools python-setuptools-whl python-six python-six-whl python-urllib3 python-urllib3-whl python-wheel python2.7 python2.7 -minimal python3-pkg-resources rsync sgml-base ssl-cert xauth xml-core xz-utils Suggested packages: www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom ufw apache2-utils binutils-doc cpp-doc gcc-4.8 -locales debian-keyring g++-multilib g++-4.8 -multilib gcc-4.8 -doc libstdc++6 -4.8 -dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.8 -multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libquadmath0-dbg gettext-base git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn php-pear glibc-doc krb5-doc krb5-user libmcrypt-dev mcrypt libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal libstdc++-4.8 -doc make-doc man-browser ssh-askpass libpam-ssh keychain monkeysphere ed diffutils-doc php5-user-cache python-doc python-tk python-genshi python-lxml python-distribute python-distribute-doc python2.7 -doc binfmt-support python3-setuptools openssh-server sgml-base-doc openssl-blacklist debhelper Recommended packages: ssh-client python-dev-all The following NEW packages will be installed: apache2 apache2-bin apache2-data binutils build-essential ca-certificates cpp cpp-4.8 curl dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8 git git-man krb5-locales libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libasan0 libasn1-8 -heimdal libatomic1 libc-dev-bin libc6-dev libcloog-isl4 libcurl3 libcurl3-gnutls libdpkg-perl libedit2 liberror-perl libfakeroot libfile-fcntllock-perl libgcc-4.8 -dev libgmp10 libgomp1 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5 -heimdal libidn11 libisl10 libitm1 libk5crypto3 libkeyutils1 libkrb5-26 -heimdal libkrb5-3 libkrb5support0 libldap-2.4 -2 libmcrypt4 libmpc3 libmpfr4 libmysqlclient18 libpython-stdlib libpython2.7 -minimal libpython2.7 -stdlib libquadmath0 libroken18-heimdal librtmp0 libsasl2-2 libsasl2-modules libsasl2-modules-db libstdc++-4.8 -dev libtimedate-perl libtsan0 libwind0-heimdal libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxmuu1 linux-libc-dev lsof make manpages manpages-dev mysql-common openssh-client openssl patch php5 php5-cli php5-common php5-json php5-mcrypt php5-mysql php5-readline psmisc python python-chardet python-chardet-whl python-colorama python-colorama-whl python-distlib python-distlib-whl python-html5lib python-html5lib-whl python-minimal python-pip python-pip-whl python-pkg-resources python-requests python-requests-whl python-setuptools python-setuptools-whl python-six python-six-whl python-urllib3 python-urllib3-whl python-wheel python2.7 python2.7 -minimal python3-pkg-resources rsync sgml-base ssl-cert xauth xml-core xz-utils 0 upgraded, 130 newly installed, 0 to remove and 4 not upgraded. Need to get 61.9 MB of archives. After this operation, 213 MB of additional disk space will be used. Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libroken18-heimdal amd64 1.6 ~git20131207+dfsg-1ubuntu1.1 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasn1-8 -heimdal amd64 1.6 ~git20131207+dfsg-1ubuntu1.1 Could not resolve 'archive.ubuntu.com' . . . Err http://archive.ubuntu.com/ubuntu/ trusty-security/main python2.7 amd64 2.7 .6 -8ubuntu0.2 Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/h/heimdal/libroken18-heimdal_1.6 ~git20131207+dfsg-1ubuntu1.1 _amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/h/heimdal/libasn1-8 -heimdal_1.6 ~git20131207+dfsg-1ubuntu1.1 _amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb5support0_1.12 +dfsg-2ubuntu5.2 _amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/ssl-cert/ssl-cert_1.0 .33 _all .deb Could not resolve 'archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? The command '/bin/sh -c apt-get install -y git curl apache2 php5 libapache2-mod-php5 php5-mcrypt php5-mysql python3.4 python-pip' returned a non-zero code: 100 Having read (https://stackoverflow.com/a/34145676/1040915) this answer , I tried adding the line RUN "sh" "-c" "echo nameserver 8.8.8.8 >> /etc/resolv.conf" - the error this time is: ... ... Reading state information... E: Unable to locate package php5-mcrypt E: Unable to locate package python-pip The command '/bin/sh -c apt-get install -y git curl apache2 php5 libapache2-mod-php5 php5-mcrypt php5-mysql python3.4 python-pip' returned a non-zero code: 100 What am I doing wrong? I've seen some claims that I should try a different version of Ubuntu, but switching to 13.1 didn't change anything. (/questions/tagged/python) (show questions tagged 'python') python (/questions/tagged/docker) (show questions tagged 'docker') docker (/questions/tagged/pip) (show questions tagged 'pip') pip (/q/36611052) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/36611052/edit) () Improve this question Follow (70:3:31e,16:edb3fced3a546322,10:1725238500,16:abbd0e685877a94d,8:36611052,8fcf5a1bcab1433f6fcf4a47dc1df5c892ae19c09b511a42218615da74b270e5) Follow this question to receive notifications (/posts/36611052/revisions) (show all edits to this post) edited (2017-05-23 12:17:44Z) May 23, 2017 at 12:17 (/users/-1/community) (Community's user avatar) (/users/-1/community) Community (Community Bot — not a real person. Replies to this bot are not monitored.) Bot (reputation score) 1 (1 silver badge) 1 1 silver badge asked (2016-04-13 23:02:50Z) Apr 13, 2016 at 23:02 (/users/1040915/scubbo) (scubbo's user avatar) (/users/1040915/scubbo) scubbo scubbo (reputation score) 5,624 (10 gold badges) 10 10 gold badges (44 silver badges) 44 44 silver badges (81 bronze badges) 81 81 bronze badges 1 What platform are you on? – (/users/562106/nick) (2,382 reputation) Nick Commented (2016-04-13 23:10:41Z, License: CC BY-SA 3.0) Apr 13, 2016 at 23:10 (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 7 Answers 7 Sorted by: (/questions/36611052/install-pip-in-docker?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:50ddc8b29147d183,10:1725238500,16:27377075a8b1a733,8:36611580,a276554d371e48d259d09fdad1935ccb57b5bc209cf829718d5fed8fa53bbb02) 84 (This answer is not useful) (70:3:31e,16:6bea57e56e5a5b96,10:1725238500,16:4032190b942cb132,8:36611580,5ba2fdae912d3009eb34da0ceadd0f3a0a52ab25c7937d8b711167cab5844fb3) Save this answer. (Loading when this answer was accepted…) (/posts/36611580/timeline) Show activity on this post. While (https://stackoverflow.com/a/36611537/4298200) T. Arboreus's answer might fix the issues with resolving 'archive.ubuntu.com', I think the last error you're getting says that it doesn't know about the packages php5-mcrypt and python-pip . Nevertheless, the reduced Dockerfile of you with just these two packages worked for me (using Debian 8.4 and Docker 1.11.0), but I'm not quite sure if that could be the case because my host system is different than yours. FROM ubuntu:14.04 # Install dependencies RUN apt-get update && apt-get install -y \ php5-mcrypt \ python-pip However, according to (https://stackoverflow.com/a/6587528/5755166) this answer you should think about installing the python3-pip package instead of the python-pip package when using Python 3.x. Furthermore, to make the php5-mcrypt package installation working, you might want to add the universe repository like it's shown (https://askubuntu.com/a/483188) right here . I had trouble with the add-apt-repository command missing in the Ubuntu Docker image so I installed the package software-properties-common at first to make the command available. Splitting up the statements and putting apt-get update and apt-get install into one RUN command is also recommended (https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/) here . Oh and by the way, you actually don't need the -y flag at apt-get update because there is nothing that has to be confirmed automatically. Finally: FROM ubuntu:14.04 # Install dependencies RUN apt-get update && apt-get install -y \ software-properties-common RUN add-apt-repository universe RUN apt-get update && apt-get install -y \ apache2 \ curl \ git \ libapache2-mod-php5 \ php5 \ php5-mcrypt \ php5-mysql \ python3.4 \ python3-pip Remark: The used versions (e.g. of Ubuntu) might be outdated in the future. (/a/36611580) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/36611580/edit) () Improve this answer Follow (70:3:31e,16:c758e8680e263082,10:1725238500,16:dc2e68d937ecae1b,8:36611580,632dd02ee452494d9e5e9368c4509fc8330cada94048ee3643f2db436f810cfa) Follow this answer to receive notifications (/posts/36611580/revisions) (show all edits to this post) edited (2022-02-10 19:31:17Z) Feb 10, 2022 at 19:31 (/users/4298200/neuron) (Neuron's user avatar) (/users/4298200/neuron) Neuron (reputation score) 5,673 (5 gold badges) 5 5 gold badges (42 silver badges) 42 42 silver badges (61 bronze badges) 61 61 bronze badges answered (2016-04-14 00:01:55Z) Apr 14, 2016 at 0:01 (/users/5755166/mxscho) (mxscho's user avatar) (/users/5755166/mxscho) mxscho mxscho (reputation score) 2,140 (2 gold badges) 2 2 gold badges (17 silver badges) 17 17 silver badges (28 bronze badges) 28 28 bronze badges 4 (number of 'useful comment' votes received) 2 Thanks for the response! I'm on Mac OS X (10.11.4), if that makes any difference (though I thought the whole point of Docker was that it ran independently of the underlying system? I'm quite new to this, so I might be wrong...). I'll try your suggestions now. – (/users/1040915/scubbo) (5,624 reputation) scubbo Commented (2016-04-14 11:29:50Z, License: CC BY-SA 3.0) Apr 14, 2016 at 11:29 (number of 'useful comment' votes received) 1 @CharlieParker apt-get update updates the locally cached information about packages in the repository (e.g. where to download them or which versions are available). Without, you could e.g. run into installing outdated packages. See also: (https://askubuntu.com/questions/337198/is-sudo-apt-get-update-mandatory-before-every-package-installation) (is sudo apt get update mandatory before every package installation) askubuntu.com/questions/337198/… I also edited the apt-get update and the apt-get install to be in one RUN command as recommended here: (https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/) docs.docker.com/engine/userguide/eng-image/… – (/users/5755166/mxscho) (2,140 reputation) mxscho Commented (2016-12-09 23:28:21Z, License: CC BY-SA 3.0) Dec 9, 2016 at 23:28 apt-get update is required to prevent caching when building the container, see docker docs. -y is to prevent the prompt that says 'yes', download, to prevent errors on build – (/users/2218905/jason) (2,082 reputation) Jason Commented (2018-03-08 21:55:43Z, License: CC BY-SA 3.0) Mar 8, 2018 at 21:55 This will not install a specific version. It is wrong answer I think. Need specific versions. So pick stale old python, then how to install pip for that stale old python? – (/users/287238/safetyduck) (6,785 reputation) safetyduck Commented (2022-07-27 10:36:38Z, License: CC BY-SA 4.0) Jul 27, 2022 at 10:36 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:1e2c08dd818d9bcb,10:1725238500,16:80857e1cc7740068,8:65521291,a27cfd95347f6c18d0cceb81c2171cd167c25886eb1d59195820683258decd6f) 19 (This answer is not useful) (70:3:31e,16:7aa19e24e796d564,10:1725238500,16:935b4dcc697c635c,8:65521291,e0ca903887a1bf8a22058890785d0c40484703a425fc974ce9721237deef057c) Save this answer. (Loading when this answer was accepted…) (/posts/65521291/timeline) Show activity on this post. This command worked fine for me: RUN apt-get -y install python3-pip (/a/65521291) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/65521291/edit) () Improve this answer Follow (70:3:31e,16:4bc25d65270b29ef,10:1725238500,16:6dafa2ae74fff170,8:65521291,2389f9428ac5cc2298173033b7ae9d0c55072a9b9cac37c56fd9219af2717dc2) Follow this answer to receive notifications answered (2020-12-31 13:07:38Z) Dec 31, 2020 at 13:07 (/users/8712494/amin-shojaei) (Amin Shojaei's user avatar) (/users/8712494/amin-shojaei) Amin Shojaei Amin Shojaei (reputation score) 6,273 (2 gold badges) 2 2 gold badges (40 silver badges) 40 40 silver badges (49 bronze badges) 49 49 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:3c56c8dcd6a8c76d,10:1725238500,16:b5959db4eb5ef4d5,8:36611537,7d82fb6970f249673658af27d08a5ef54ceabde4420b5b16a1ce17fa91f55f8a) 0 (This answer is not useful) (70:3:31e,16:da2351bc0f7b2ea9,10:1725238500,16:874b31cb96aa6469,8:36611537,ba493578786fb9bc7d3b3a20a33f5378962e200dc445c18d421541f759c32247) Save this answer. (Loading when this answer was accepted…) (/posts/36611537/timeline) Show activity on this post. Try this: Uncomment the following line in /etc/default/docker DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" Restart the Docker service sudo service docker restart Delete any images which have cached the invalid DNS settings. Build again and the problem should be solved. From (https://stackoverflow.com/questions/24991136/docker-build-could-not-resolve-archive-ubuntu-com-apt-get-fails-to-install-a) this question . (/a/36611537) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/36611537/edit) () Improve this answer Follow (70:3:31e,16:497f4b77ea776861,10:1725238500,16:ef79afb147d20d6f,8:36611537,2b8504d29edac245e2646bee6493dd54ef452906651336604ee135301203f8b2) Follow this answer to receive notifications (/posts/36611537/revisions) (show all edits to this post) edited (2017-05-23 12:17:44Z) May 23, 2017 at 12:17 (/users/-1/community) (Community's user avatar) (/users/-1/community) Community (Community Bot — not a real person. Replies to this bot are not monitored.) Bot (reputation score) 1 (1 silver badge) 1 1 silver badge answered (2016-04-13 23:56:17Z) Apr 13, 2016 at 23:56 (/users/3980466/t-arboreus) (T. Arboreus's user avatar) (/users/3980466/t-arboreus) T. Arboreus T. Arboreus (reputation score) 1,040 (1 gold badge) 1 1 gold badge (9 silver badges) 9 9 silver badges (18 bronze badges) 18 18 bronze badges 2 No luck - there's no file /etc/default/docker on my system (Mac OS X) – (/users/1040915/scubbo) (5,624 reputation) scubbo Commented (2016-04-14 09:34:12Z, License: CC BY-SA 3.0) Apr 14, 2016 at 9:34 Sorry, tapped out on thisone – (/users/3980466/t-arboreus) (1,040 reputation) T. Arboreus Commented (2016-04-14 15:14:43Z, License: CC BY-SA 3.0) Apr 14, 2016 at 15:14 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:ade1a4205e17790a,10:1725238500,16:2e0fabb5180ae1cc,8:52059705,4860326a79c83b25354e881812d4c4928aeda7bfe8128b920260172690063633) 0 (This answer is not useful) (70:3:31e,16:43c802328bb84bd9,10:1725238500,16:9fee122aa516bec1,8:52059705,b8d607294e948dc5ecdeadd438d411fffeb887983736fe59ccfa6b523a180c46) Save this answer. (Loading when this answer was accepted…) (/posts/52059705/timeline) Show activity on this post. You might want to change the DNS settings of the Docker daemon. You can edit (or create) the configuration file at /etc/docker/daemon.json with the dns key, as { "dns" : ["your_dns_address" , "8.8.8.8" ] } In the example above, the first element of the list is the address of your DNS server. The second item is the Google’s DNS which can be used when the first one is not available. Before proceeding, save daemon.json and restart the docker service. sudo service docker restart Once fixed, retry to run the build command. (/a/52059705) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/52059705/edit) () Improve this answer Follow (70:3:31e,16:581749bc18e40e4a,10:1725238500,16:30267afcf68490cf,8:52059705,9ca4fd75603c353cb8154026c47e77a1962f7ffee4e1836f8cc7a8277b72746f) Follow this answer to receive notifications (/posts/52059705/revisions) (show all edits to this post) edited (2018-08-28 14:04:30Z) Aug 28, 2018 at 14:04 (/users/27351/peter-k%c3%bchne) (Peter Kühne's user avatar) (/users/27351/peter-k%c3%bchne) Peter Kühne (reputation score) 3,254 (1 gold badge) 1 1 gold badge (21 silver badges) 21 21 silver badges (24 bronze badges) 24 24 bronze badges answered (2018-08-28 13:58:37Z) Aug 28, 2018 at 13:58 (/users/10285192/rishich-mishra) (Rishich Mishra's user avatar) (/users/10285192/rishich-mishra) Rishich Mishra Rishich Mishra (reputation score) 1 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:89a6da84b5e631fe,10:1725238500,16:4442bcd2e80fb1da,8:56637012,94620fecc5ee29325d174c31f7ee2ccfdaca7b9ffd6929f74e1fa01636bf3d7c) 0 (This answer is not useful) (70:3:31e,16:fbc35b69080a0251,10:1725238500,16:a3f65518a60eb3dc,8:56637012,622cd9a4a320bdbac0c151c5f0b6291f88cabd90485491b7f3a95818d6c85f14) Save this answer. (Loading when this answer was accepted…) (/posts/56637012/timeline) Show activity on this post. An alternative is to use the Alpine Linux containers, e.g. python:2.7-alpine . They offer pip out of the box (and have a smaller footprint, but beware of (https://pythonspeed.com/articles/alpine-docker-python/) possible python problems ). (/a/56637012) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/56637012/edit) () Improve this answer Follow (70:3:31e,16:f35175b5cf5d1188,10:1725238500,16:7411a5e98a301eaa,8:56637012,39efd5f55448dfc34696dea26ba49ca46f549f45901b395453ecdfa9955e1632) Follow this answer to receive notifications (/posts/56637012/revisions) (show all edits to this post) edited (2023-01-10 17:56:56Z) Jan 10, 2023 at 17:56 answered (2019-06-17 18:34:28Z) Jun 17, 2019 at 18:34 (/users/1587329/serv-inc) (serv-inc's user avatar) (/users/1587329/serv-inc) serv-inc serv-inc (reputation score 37,627) 37.6k (9 gold badges) 9 9 gold badges (186 silver badges) 186 186 silver badges (205 bronze badges) 205 205 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:97c7fbc28cd65441,10:1725238500,16:9b7b1d67b1d5baf1,8:78250791,e712b2a3be652da7118043001f11dceff969672ad9ddd429b7090f773a34e8a6) -1 (This answer is not useful) (70:3:31e,16:0bb605e6e6f63b1e,10:1725238500,16:a4a98a0c2b791faf,8:78250791,ebdd23c8774c941bb8f19b6621dd748f7dcc860f54492bf2970f98c6f9b26edf) Save this answer. (Loading when this answer was accepted…) (/posts/78250791/timeline) Show activity on this post. odoo ## odoo docker exec -it (id conatianer odoo) /bin/bash after installed : pip install dropbox , pip install pyncclient, pip install nextcloud-api-wrapper , pip install boto3 , pip install paramiko for module auto_database_backup (/a/78250791) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/78250791/edit) () Improve this answer Follow (70:3:31e,16:1fbf36702ef21b39,10:1725238500,16:b7c64389cd3bd098,8:78250791,01f5d17f51119e3c7a460199609fd514e7215ee1e7ca3387fb64e62e7e7d4733) Follow this answer to receive notifications answered (2024-03-31 09:07:54Z) Mar 31 at 9:07 (/users/23914443/bourg-work) (Bourg work's user avatar) (/users/23914443/bourg-work) Bourg work Bourg work (reputation score) 1 1 (number of 'useful comment' votes received) 1 Please format your answer so that the code is contained in codeblocks. Currently it is hard to follow. Also, given that this question has an accepted answer which has been verified by the SO community, it is expected that you add some text explaining how your solution differs from all the other answers. Thanks – (/users/2530121/l-tyrone) (5,576 reputation) L Tyrone Commented (2024-03-31 10:04:01Z, License: CC BY-SA 4.0) Mar 31 at 10:04 (this comment was edited 2 times) (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:700687c2e11e0fec,10:1725238500,16:8be58d47b61d1cdf,8:73167694,e0644e770b4d6be6467029aea96ac794eaaea2ebbfefff31f84bac6fc02ab4cd) -2 (This answer is not useful) (70:3:31e,16:7c49d917c3eed5b8,10:1725238500,16:022ddde96390c81d,8:73167694,61de868f21087cdcaaa15a2b481f69308aabc55e61fd55d6e4383955e24b5607) Save this answer. (Loading when this answer was accepted…) (/posts/73167694/timeline) Show activity on this post. You can try: sudo apt-get install python-pip python-dev (/a/73167694) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/73167694/edit) () Improve this answer Follow (70:3:31e,16:5d0cdc368fc452a8,10:1725238500,16:98332a8108d55c07,8:73167694,609ec119a314aeef8ad6d5376a15ea93fd7edce2f4f683002357a43c3e26bee8) Follow this answer to receive notifications answered (2022-07-29 13:45:08Z) Jul 29, 2022 at 13:45 (/users/5465790/walk) (Walk's user avatar) (/users/5465790/walk) Walk Walk (reputation score) 1,619 (21 silver badges) 21 21 silver badges (23 bronze badges) 23 23 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (36611052) (false) () Your Answer Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. (/help/gen-ai-policy) Learn more (true) Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question . Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our (/help/how-to-answer) tips on writing great answers . Draft saved Draft discarded (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) Sign up or (/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f36611052%2finstall-pip-in-docker%23new-answer) log in Sign up using Google Sign up using Email and Password (false) (false) Submit Post as a guest Name () () Email Required, but never shown () () Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy .(1) Not the answer you're looking for? Browse other questions tagged (/questions/tagged/python) (show questions tagged 'python') python (/questions/tagged/docker) (show questions tagged 'docker') docker (/questions/tagged/pip) (show questions tagged 'pip') pip or (/questions/ask) ask your own question . The Overflow Blog (https://stackoverflow.blog/2024/08/30/mobile-observability-open-telemetry-embrace-ios-android-austin-emmons/?cb=1) (Mobile Observability: monitoring performance through cracked screens, old batteries, and crappy Wi-Fi) Mobile Observability: monitoring performance through cracked screens, old... Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/401324/announcing-a-change-to-the-data-dump-process?cb=1) Announcing a change to the data-dump process (Meta Stack Exchange) (https://meta.stackexchange.com/questions/402121/bringing-clarity-to-status-tag-usage-on-meta-sites?cb=1) Bringing clarity to status tag usage on meta sites (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431331/what-does-a-new-user-need-in-a-homepage-experience-on-stack-overflow?cb=1) What does a new user need in a homepage experience on Stack Overflow? (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431399/staging-ground-reviewer-motivation?cb=1) Staging Ground Reviewer Motivation (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431273/feedback-requested-how-do-you-use-tag-hover-descriptions-for-curating-and-do-yo?cb=1) (Feedback requested: How do you use tag hover descriptions for curating and do you use the RSS feed feature?) Feedback requested: How do you use tag hover descriptions for curating and do... (https://chat.stackoverflow.com/) (10 users active in 9 rooms the last 60 minutes) 10 people chatting (https://chat.stackoverflow.com//rooms/6) Python (2024-09-01 17:58:13Z) 6 hours ago - (https://chat.stackoverflow.com//users/4799172) roganjosh (https://chat.stackoverflow.com//users/4799172) (roganjosh: 6 hours ago) (https://chat.stackoverflow.com//users/2044866) (Peilonrayz: 2 days ago) (https://chat.stackoverflow.com//users/3689450) (VLAZ: Aug 20 at 19:15) (https://chat.stackoverflow.com//users/4792229) (Hakaishin: Aug 20 at 13:55) (https://chat.stackoverflow.com//users/298479) (ThiefMaster: Aug 13 at 10:20) (https://chat.stackoverflow.com//users/2904896) (metatoaster: Jul 2 at 11:20) (https://chat.stackoverflow.com//users/1903116) (thefourtheye: May 15 at 3:03) (https://chat.stackoverflow.com//rooms/247434) python-canon-discussion (2024-08-28 22:37:54Z) Aug 28 at 22:37 - (https://chat.stackoverflow.com//users/523612) Karl Knechtel (https://chat.stackoverflow.com//users/2904896) (metatoaster: Aug 15 at 0:38) Linked (https://stackoverflow.com/q/6587507?lq=1) (Question score (upvotes - downvotes)) 701 (https://stackoverflow.com/questions/6587507/how-to-install-pip-with-python-3?noredirect=1&lq=1) How to install pip with Python 3? (https://stackoverflow.com/q/24991136?lq=1) (Question score (upvotes - downvotes)) 142 (https://stackoverflow.com/questions/24991136/docker-build-could-not-resolve-archive-ubuntu-com-apt-get-fails-to-install-a?noredirect=1&lq=1) Docker build "Could not resolve 'archive.ubuntu.com'" apt-get fails to install anything (https://stackoverflow.com/q/56892907?lq=1) (Question score (upvotes - downvotes)) 18 (https://stackoverflow.com/questions/56892907/install-pip3-and-python3-7-on-docker-ubuntu-18-04?noredirect=1&lq=1) Install PIP3 and PYTHON3.7 on Docker Ubuntu 18.04 (https://stackoverflow.com/q/34141438?lq=1) (Question score (upvotes - downvotes)) 5 (https://stackoverflow.com/questions/34141438/docker-build-failing-with-could-not-resolve-archive-ubuntu-com?noredirect=1&lq=1) docker build failing with Could not resolve 'archive.ubuntu.com' (https://stackoverflow.com/q/61371949?lq=1) (Question score (upvotes - downvotes)) 7 (https://stackoverflow.com/questions/61371949/how-to-install-python-3-7-and-pip-from-dockerfile?noredirect=1&lq=1) How to install Python 3.7 and Pip from Dockerfile (https://stackoverflow.com/q/71081292?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/71081292/how-to-install-pip-in-a-dockerfile?noredirect=1&lq=1) How to install pip in a dockerfile (https://stackoverflow.com/q/61501376?lq=1) (Question score (upvotes - downvotes)) -1 (https://stackoverflow.com/questions/61501376/run-install-python-packages-on-dockerfile?noredirect=1&lq=1) Run install python packages on Dockerfile (https://stackoverflow.com/q/61421146?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/61421146/docker-openjdk8-jdk-slim-is-unable-to-find-pip-even-after-the-installation?noredirect=1&lq=1) Docker :openjdk:8-jdk-slim is unable to find pip even after the installation Related (https://stackoverflow.com/q/4750806?rq=1) (Question score (upvotes - downvotes)) 2760 (https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows?rq=1) How do I install pip on Windows? (https://stackoverflow.com/q/16047306?rq=1) (Question score (upvotes - downvotes)) 4464 (https://stackoverflow.com/questions/16047306/how-is-docker-different-from-a-virtual-machine?rq=1) How is Docker different from a virtual machine? (https://stackoverflow.com/q/2720014?rq=1) (Question score (upvotes - downvotes)) 2813 (https://stackoverflow.com/questions/2720014/how-to-upgrade-all-python-packages-with-pip?rq=1) How to upgrade all Python packages with pip (https://stackoverflow.com/q/7225900?rq=1) (Question score (upvotes - downvotes)) 1854 (https://stackoverflow.com/questions/7225900/how-can-i-install-packages-using-pip-according-to-the-requirements-txt-file-from?rq=1) How can I install packages using pip according to the requirements.txt file from a local directory? (https://stackoverflow.com/q/22049212?rq=1) (Question score (upvotes - downvotes)) 2929 (https://stackoverflow.com/questions/22049212/copying-files-from-docker-container-to-host?rq=1) Copying files from Docker container to host (https://stackoverflow.com/q/17271319?rq=1) (Question score (upvotes - downvotes)) 1671 (https://stackoverflow.com/questions/17271319/how-do-i-install-pip-on-macos-or-os-x?rq=1) How do I install pip on macOS or OS X? (https://stackoverflow.com/q/24319662?rq=1) (Question score (upvotes - downvotes)) 3455 (https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach?rq=1) From inside of a Docker container, how do I connect to the localhost of the machine? (https://stackoverflow.com/q/5226311?rq=1) (Question score (upvotes - downvotes)) 1995 (https://stackoverflow.com/questions/5226311/installing-specific-package-version-with-pip?rq=1) Installing specific package version with pip (https://stackoverflow.com/q/22907231?rq=1) (Question score (upvotes - downvotes)) 2513 (https://stackoverflow.com/questions/22907231/how-to-copy-files-from-host-to-docker-container?rq=1) How to copy files from host to Docker container? (https://stackoverflow.com/q/20101834?rq=1) (Question score (upvotes - downvotes)) 1182 (https://stackoverflow.com/questions/20101834/pip-install-from-git-repo-branch?rq=1) pip install from git repo branch (https://stackexchange.com/questions?tab=hot) Hot Network Questions (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/725577/ms-option-in-memoir-class) ms option in memoir class (Spanish Language Stack Exchange) (https://spanish.stackexchange.com/questions/43487/what-is-the-difference-between-hubiera-and-habr%c3%ada) What is the difference between "Hubiera" and "Habría"? (Space Exploration Stack Exchange) (https://space.stackexchange.com/questions/66796/how-much-time-would-an-astronaut-experience-accelerating-to-9999x-the-speed-of) How much time would an astronaut experience accelerating to .9999x the speed of light at an acceleration of 1G from the astronauts perspective? (Android Enthusiasts Stack Exchange) (https://android.stackexchange.com/questions/258229/how-to-beep-in-termux) How to beep in Termux? (Chess Stack Exchange) (https://chess.stackexchange.com/questions/46122/why-is-the-annotation-so-rare) Why is the !? annotation so rare? (Home Improvement Stack Exchange) (https://diy.stackexchange.com/questions/306170/is-this-screw-inside-a-2-prong-receptacle-a-possible-ground) Is this screw inside a 2-prong receptacle a possible ground? (Photography Stack Exchange) (https://photo.stackexchange.com/questions/135530/took-a-pic-of-old-school-friend-in-the-80s-who-is-now-quite-famous-and-written-a) Took a pic of old school friend in the 80s who is now quite famous and written a huge selling memoir. Pic has ben used in book without permission (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/261340/could-an-alien-pathogen-actually-have-an-effect-on-us) Could an alien pathogen actually have an effect on us? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/723998/replacing-aircon-capacitor-using-off-brand-same-spec-vs-lower-higher-spec-from) Replacing aircon capacitor, using off brand same spec vs lower/higher spec from correct brand? (Travel Stack Exchange) (https://travel.stackexchange.com/questions/191100/do-passengers-transiting-in-yvr-vancouver-from-international-to-us-go-through) Do passengers transiting in YVR (Vancouver) from international to US go through Canadian immigration? (Law Stack Exchange) (https://law.stackexchange.com/questions/104742/is-a-company-liable-for-potential-harms) Is a company liable for "potential" harms? (Ask Ubuntu) (https://askubuntu.com/questions/1525051/does-it-pay-to-put-effort-in-fixing-this-problem-or-better-reinstall-ubuntu-24-0) Does it pay to put effort in fixing this problem or better reinstall Ubuntu 24.04 from scratch? (Philosophy Stack Exchange) (https://philosophy.stackexchange.com/questions/116617/how-can-moral-disagreements-be-resolved-when-the-conflicting-parties-are-guided) How can moral disagreements be resolved when the conflicting parties are guided by fundamentally different value systems? (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/261286/what-unique-phenomena-would-be-observed-in-a-system-around-a-hypervelocity-star) What unique phenomena would be observed in a system around a hypervelocity star? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/213258/my-supervisor-wants-me-to-switch-to-another-software-programming-language-that-i) My supervisor wants me to switch to another software/programming language that I am not proficient in. What to do? (Space Exploration Stack Exchange) (https://space.stackexchange.com/questions/66787/if-starliner-returns-safely-on-autopilot-can-this-still-prove-that-its-safe-c) If Starliner returns safely on autopilot, can this still prove that it's safe? Could it be launched back up to the ISS again to complete its mission? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/725531/how-to-frame-certain-cells-with-tabular) How to frame certain cells with tabular? (Ask Ubuntu) (https://askubuntu.com/questions/1525146/how-do-i-backup-only-changed-files-on-an-external-hard-drive) How do I backup only changed files on an external hard drive? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/291247/what-is-a-hard-boiled-turtle-slapper) What is a "hard-boiled turtle-slapper"? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/725548/how-to-set-the-option-top-in-tcb-only-in-first-breakable-part-in-pikachu-tcolo) How to set the option `top' in tcb only in first breakable part in PikaChu tcolorbox? (Operations Research Stack Exchange) (https://or.stackexchange.com/questions/12439/seinfeldisms-in-o-r) Seinfeldisms in O.R (Mathematics Educators Stack Exchange) (https://matheducators.stackexchange.com/questions/28073/best-way-to-explain-the-thinking-steps-from-x2-9-to-x-%c2%b13) Best way to explain the thinking steps from x^2 = 9 to x=±3 (Computational Science Stack Exchange) (https://scicomp.stackexchange.com/questions/44505/fast-algorithm-to-obtain-an-orthogonal-vector-to-a-set-of-vectors) Fast algorithm to obtain an orthogonal vector to a set of vectors (English Language Learners Stack Exchange) (https://ell.stackexchange.com/questions/356728/what-does-this-translated-phrase-convey-the-heart-refuses-to-obey) What does this translated phrase convey "The heart refuses to obey."? (/feeds/question/36611052) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/36611052) () lang-py (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Cookie Settings (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2024.8.29.14628 By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our (https://stackoverflow.com/legal/cookie-policy) Cookie Policy . Accept all cookies Necessary cookies only Customize settings