Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip installs already installed packages #7165

Closed
magwas opened this issue Oct 9, 2019 · 6 comments
Closed

pip installs already installed packages #7165

magwas opened this issue Oct 9, 2019 · 6 comments
Labels
auto-locked Outdated issues that have been locked by automation project: <downstream> When the cause/effect is related to redistributors type: support User Support

Comments

@magwas
Copy link

magwas commented Oct 9, 2019

Environment

  • pip version: python3-pip 9.0.1-2.3~ubuntu1.18.04.1
  • Python version:python3 3.6.7-1~18.04
  • OS: ubuntu bionic

Description

My requirements.txt contains package names and no versions.
Whenever I do pip3 install -r requirements.txt , the packages get reinstalled.

Expected behavior

If a package already exists, do not attempt to reinstall it.

How to Reproduce

my requirements.txt:

tensorflow
keras
pandas
psycopg2-binary
winterboot
setuptools
wheel
twine

run pip3 install -r requirements.txt as plain user two times

Output
developer@3713102de574:/build$ pip3 -r ��[K��[K��[K��[K��[K��[K��[K��[K��cat requirements.txt 
tensorflow
keras
pandas
psycopg2-binary
winterboot
setuptools
wheel
twine
developer@3713102de574:/build$ pip3 -r install ��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[Kinstall -r requirements.txt 
Collecting tensorflow (from -r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/de/f0/96fb2e0412ae9692dbf400e5b04432885f677ad6241c088ccc5fe7724d69/tensorflow-1.14.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting keras (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/ad/fd/6bfe87920d7f4fd475acd28500a42482b6b84479832bdc0fe9e589a60ceb/Keras-2.3.1-py2.py3-none-any.whl
Collecting pandas (from -r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/73/9b/52e228545d14f14bb2a1622e225f38463c8726645165e1cb7dde95bfe6d4/pandas-0.25.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting psycopg2-binary (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/b1/35/75c9c2d9cfc073ab6c42b2d8e91ff58c9b99f4ed7ed56b36647642e6080e/psycopg2_binary-2.8.3-cp36-cp36m-manylinux1_x86_64.whl
Collecting winterboot (from -r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/9e/da/0b75e2ca728da02f0405557ae32175b63145388d8417a30685e5808ef728/winterboot-0.7-py3-none-any.whl
Collecting setuptools (from -r requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/6a/9a/50fadfd53ec909e4399b67c74cc7f4e883488035cfcdb90b685758fa8b34/setuptools-41.4.0-py2.py3-none-any.whl
Collecting wheel (from -r requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Collecting twine (from -r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/c4/43/b9c56d378f5d0b9bee7be564b5c5fb65c65e5da6e82a97b6f50c2769249a/twine-2.0.0-py3-none-any.whl
Collecting tensorboard<1.15.0,>=1.14.0 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/91/2d/2ed263449a078cd9c8a9ba50ebd50123adf1f8cfbea1492f9084169b89d9/tensorboard-1.14.0-py3-none-any.whl
Collecting tensorflow-estimator<1.15.0rc0,>=1.14.0rc0 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/3c/d5/21860a5b11caf0678fbc8319341b0ae21a07156911132e0e71bffed0510d/tensorflow_estimator-1.14.0-py2.py3-none-any.whl
Collecting keras-preprocessing>=1.0.5 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e26736df51ce6f0e38455816445471f10da4f0a/Keras_Preprocessing-1.1.0-py2.py3-none-any.whl
Collecting absl-py>=0.7.0 (from tensorflow->-r requirements.txt (line 1))
Collecting numpy<2.0,>=1.14.5 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/e5/e6/c3fdc53aed9fa19d6ff3abf97dfad768ae3afce1b7431f7500000816bda5/numpy-1.17.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting gast>=0.2.0 (from tensorflow->-r requirements.txt (line 1))
Collecting grpcio>=1.8.6 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/e8/cb/ebf7b54c5d4ad521d88ee7826dfa0fc3ac84502361ad7e5cb739ea5057a4/grpcio-1.24.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting protobuf>=3.6.1 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/a8/52/d8d2dbff74b8bf517c42db8d44c3f9ef6555e6f5d6caddfa3f207b9143df/protobuf-3.10.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting wrapt>=1.11.1 (from tensorflow->-r requirements.txt (line 1))
Collecting six>=1.10.0 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting astor>=0.6.0 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/d1/4f/950dfae467b384fc96bc6469de25d832534f6b4441033c39f914efd13418/astor-0.8.0-py2.py3-none-any.whl
Collecting termcolor>=1.1.0 (from tensorflow->-r requirements.txt (line 1))
Collecting keras-applications>=1.0.6 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl
Collecting google-pasta>=0.1.6 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/d0/33/376510eb8d6246f3c30545f416b2263eee461e40940c2a4413c711bdf62d/google_pasta-0.1.7-py3-none-any.whl
Collecting h5py (from keras->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/60/06/cafdd44889200e5438b897388f3075b52a8ef01f28a17366d91de0fa2d05/h5py-2.10.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting scipy>=0.14 (from keras->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/29/50/a552a5aff252ae915f522e44642bb49a7b7b31677f9580cfd11bcc869976/scipy-1.3.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting pyyaml (from keras->-r requirements.txt (line 2))
Collecting python-dateutil>=2.6.1 (from pandas->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
Collecting pytz>=2017.2 (from pandas->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl
Collecting requests>=2.20 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting requests-toolbelt!=0.9.0,>=0.8.0 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/60/ef/7681134338fc097acef8d9b2f8abe0458e4d87559c689a8c306d0957ece5/requests_toolbelt-0.9.1-py2.py3-none-any.whl
Collecting pkginfo>=1.4.2 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/e6/d5/451b913307b478c49eb29084916639dc53a88489b993530fed0a66bab8b9/pkginfo-1.5.0.1-py2.py3-none-any.whl
Collecting tqdm>=4.14 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/e1/c1/bc1dba38b48f4ae3c4428aea669c5e27bd5a7642a74c8348451e0bd8ff86/tqdm-4.36.1-py2.py3-none-any.whl
Collecting readme-renderer>=21.0 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/c3/7e/d1aae793900f36b097cbfcc5e70eef82b5b56423a6c52a36dce51fedd8f0/readme_renderer-24.0-py2.py3-none-any.whl
Collecting markdown>=2.6.8 (from tensorboard<1.15.0,>=1.14.0->tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl
Collecting werkzeug>=0.11.15 (from tensorboard<1.15.0,>=1.14.0->tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.20->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.20->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests>=2.20->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.20->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/e0/da/55f51ea951e1b7c63a579c09dd7db825bb730ec1fe9c0180fc77bfb31448/urllib3-1.25.6-py2.py3-none-any.whl
Collecting Pygments (from readme-renderer>=21.0->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl
Collecting bleach>=2.1.0 (from readme-renderer>=21.0->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/ab/05/27e1466475e816d3001efb6e0a85a819be17411420494a1e602c36f8299d/bleach-3.1.0-py2.py3-none-any.whl
Collecting docutils>=0.13.1 (from readme-renderer>=21.0->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl
Collecting webencodings (from bleach>=2.1.0->readme-renderer>=21.0->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Installing collected packages: wheel, six, setuptools, protobuf, markdown, grpcio, absl-py, numpy, werkzeug, tensorboard, tensorflow-estimator, keras-preprocessing, gast, wrapt, astor, termcolor, h5py, keras-applications, google-pasta, tensorflow, scipy, pyyaml, keras, python-dateutil, pytz, pandas, psycopg2-binary, winterboot, certifi, chardet, idna, urllib3, requests, requests-toolbelt, pkginfo, tqdm, Pygments, webencodings, bleach, docutils, readme-renderer, twine
Successfully installed Pygments-2.4.2 absl-py-0.8.1 astor-0.8.0 bleach-3.1.0 certifi-2019.9.11 chardet-3.0.4 docutils-0.15.2 gast-0.3.2 google-pasta-0.1.7 grpcio-1.24.1 h5py-2.10.0 idna-2.8 keras-2.3.1 keras-applications-1.0.8 keras-preprocessing-1.1.0 markdown-3.1.1 numpy-1.17.2 pandas-0.25.1 pkginfo-1.5.0.1 protobuf-3.10.0 psycopg2-binary-2.8.3 python-dateutil-2.8.0 pytz-2019.3 pyyaml-5.1.2 readme-renderer-24.0 requests-2.22.0 requests-toolbelt-0.9.1 scipy-1.3.1 setuptools-41.4.0 six-1.12.0 tensorboard-1.14.0 tensorflow-1.14.0 tensorflow-estimator-1.14.0 termcolor-1.1.0 tqdm-4.36.1 twine-2.0.0 urllib3-1.25.6 webencodings-0.5.1 werkzeug-0.16.0 wheel-0.33.6 winterboot-0.7 wrapt-1.11.2
developer@3713102de574:/build$ pip3 install -r requirements.txt 
Collecting tensorflow (from -r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/de/f0/96fb2e0412ae9692dbf400e5b04432885f677ad6241c088ccc5fe7724d69/tensorflow-1.14.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting keras (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/ad/fd/6bfe87920d7f4fd475acd28500a42482b6b84479832bdc0fe9e589a60ceb/Keras-2.3.1-py2.py3-none-any.whl
Collecting pandas (from -r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/73/9b/52e228545d14f14bb2a1622e225f38463c8726645165e1cb7dde95bfe6d4/pandas-0.25.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting psycopg2-binary (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/b1/35/75c9c2d9cfc073ab6c42b2d8e91ff58c9b99f4ed7ed56b36647642e6080e/psycopg2_binary-2.8.3-cp36-cp36m-manylinux1_x86_64.whl
Collecting winterboot (from -r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/9e/da/0b75e2ca728da02f0405557ae32175b63145388d8417a30685e5808ef728/winterboot-0.7-py3-none-any.whl
Collecting setuptools (from -r requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/6a/9a/50fadfd53ec909e4399b67c74cc7f4e883488035cfcdb90b685758fa8b34/setuptools-41.4.0-py2.py3-none-any.whl
Collecting wheel (from -r requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Collecting twine (from -r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/c4/43/b9c56d378f5d0b9bee7be564b5c5fb65c65e5da6e82a97b6f50c2769249a/twine-2.0.0-py3-none-any.whl
Collecting absl-py>=0.7.0 (from tensorflow->-r requirements.txt (line 1))
Collecting termcolor>=1.1.0 (from tensorflow->-r requirements.txt (line 1))
Collecting grpcio>=1.8.6 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/e8/cb/ebf7b54c5d4ad521d88ee7826dfa0fc3ac84502361ad7e5cb739ea5057a4/grpcio-1.24.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting gast>=0.2.0 (from tensorflow->-r requirements.txt (line 1))
Collecting astor>=0.6.0 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/d1/4f/950dfae467b384fc96bc6469de25d832534f6b4441033c39f914efd13418/astor-0.8.0-py2.py3-none-any.whl
Collecting keras-applications>=1.0.6 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl
Collecting keras-preprocessing>=1.0.5 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e26736df51ce6f0e38455816445471f10da4f0a/Keras_Preprocessing-1.1.0-py2.py3-none-any.whl
Collecting google-pasta>=0.1.6 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/d0/33/376510eb8d6246f3c30545f416b2263eee461e40940c2a4413c711bdf62d/google_pasta-0.1.7-py3-none-any.whl
Collecting protobuf>=3.6.1 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/a8/52/d8d2dbff74b8bf517c42db8d44c3f9ef6555e6f5d6caddfa3f207b9143df/protobuf-3.10.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting wrapt>=1.11.1 (from tensorflow->-r requirements.txt (line 1))
Collecting tensorboard<1.15.0,>=1.14.0 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/91/2d/2ed263449a078cd9c8a9ba50ebd50123adf1f8cfbea1492f9084169b89d9/tensorboard-1.14.0-py3-none-any.whl
Collecting six>=1.10.0 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting numpy<2.0,>=1.14.5 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/e5/e6/c3fdc53aed9fa19d6ff3abf97dfad768ae3afce1b7431f7500000816bda5/numpy-1.17.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting tensorflow-estimator<1.15.0rc0,>=1.14.0rc0 (from tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/3c/d5/21860a5b11caf0678fbc8319341b0ae21a07156911132e0e71bffed0510d/tensorflow_estimator-1.14.0-py2.py3-none-any.whl
Collecting h5py (from keras->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/60/06/cafdd44889200e5438b897388f3075b52a8ef01f28a17366d91de0fa2d05/h5py-2.10.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting scipy>=0.14 (from keras->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/29/50/a552a5aff252ae915f522e44642bb49a7b7b31677f9580cfd11bcc869976/scipy-1.3.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting pyyaml (from keras->-r requirements.txt (line 2))
Collecting python-dateutil>=2.6.1 (from pandas->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
Collecting pytz>=2017.2 (from pandas->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl
Collecting tqdm>=4.14 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/e1/c1/bc1dba38b48f4ae3c4428aea669c5e27bd5a7642a74c8348451e0bd8ff86/tqdm-4.36.1-py2.py3-none-any.whl
Collecting pkginfo>=1.4.2 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/e6/d5/451b913307b478c49eb29084916639dc53a88489b993530fed0a66bab8b9/pkginfo-1.5.0.1-py2.py3-none-any.whl
Collecting requests>=2.20 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting requests-toolbelt!=0.9.0,>=0.8.0 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/60/ef/7681134338fc097acef8d9b2f8abe0458e4d87559c689a8c306d0957ece5/requests_toolbelt-0.9.1-py2.py3-none-any.whl
Collecting readme-renderer>=21.0 (from twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/c3/7e/d1aae793900f36b097cbfcc5e70eef82b5b56423a6c52a36dce51fedd8f0/readme_renderer-24.0-py2.py3-none-any.whl
Collecting markdown>=2.6.8 (from tensorboard<1.15.0,>=1.14.0->tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl
Collecting werkzeug>=0.11.15 (from tensorboard<1.15.0,>=1.14.0->tensorflow->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.20->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/e0/da/55f51ea951e1b7c63a579c09dd7db825bb730ec1fe9c0180fc77bfb31448/urllib3-1.25.6-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.20->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.20->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests>=2.20->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting bleach>=2.1.0 (from readme-renderer>=21.0->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/ab/05/27e1466475e816d3001efb6e0a85a819be17411420494a1e602c36f8299d/bleach-3.1.0-py2.py3-none-any.whl
Collecting docutils>=0.13.1 (from readme-renderer>=21.0->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl
Collecting Pygments (from readme-renderer>=21.0->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl
Collecting webencodings (from bleach>=2.1.0->readme-renderer>=21.0->twine->-r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Installing collected packages: six, absl-py, termcolor, grpcio, gast, astor, numpy, h5py, keras-applications, keras-preprocessing, google-pasta, setuptools, protobuf, wrapt, wheel, markdown, werkzeug, tensorboard, tensorflow-estimator, tensorflow, scipy, pyyaml, keras, python-dateutil, pytz, pandas, psycopg2-binary, winterboot, tqdm, pkginfo, urllib3, chardet, certifi, idna, requests, requests-toolbelt, webencodings, bleach, docutils, Pygments, readme-renderer, twine
Successfully installed Pygments-2.4.2 absl-py-0.8.1 astor-0.8.0 bleach-3.1.0 certifi-2019.9.11 chardet-3.0.4 docutils-0.15.2 gast-0.3.2 google-pasta-0.1.7 grpcio-1.24.1 h5py-2.10.0 idna-2.8 keras-2.3.1 keras-applications-1.0.8 keras-preprocessing-1.1.0 markdown-3.1.1 numpy-1.17.2 pandas-0.25.1 pkginfo-1.5.0.1 protobuf-3.10.0 psycopg2-binary-2.8.3 python-dateutil-2.8.0 pytz-2019.3 pyyaml-5.1.2 readme-renderer-24.0 requests-2.22.0 requests-toolbelt-0.9.1 scipy-1.3.1 setuptools-41.4.0 six-1.12.0 tensorboard-1.14.0 tensorflow-1.14.0 tensorflow-estimator-1.14.0 termcolor-1.1.0 tqdm-4.36.1 twine-2.0.0 urllib3-1.25.6 webencodings-0.5.1 werkzeug-0.16.0 wheel-0.33.6 winterboot-0.7 wrapt-1.11.2
developer@3713102de574:/build$ exit
@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Oct 9, 2019
@chrahunt chrahunt added project: <downstream> When the cause/effect is related to redistributors S: awaiting response Waiting for a response/more information type: support User Support labels Oct 10, 2019
@triage-new-issues triage-new-issues bot removed S: needs triage Issues/PRs that need to be triaged labels Oct 10, 2019
@chrahunt
Copy link
Member

chrahunt commented Oct 10, 2019

Hello. This is specific to Debian/Ubuntu's packaging of pip, as mentioned in #4222 (comment) (i.e. they default to --user and --ignore-installed), so not much we can do about it. I would suggest installing pip with pip3 install --upgrade pip then running as python3 -m pip which should now resolve to the "real" pip installed under ~/.local/lib/python3.6/site-packages.

Hope that helps!

@Xoristzatziki
Copy link

Xoristzatziki commented Oct 12, 2019

Same here. My setup contains

install_requires=[
          'numpy >= 1.13',
      ],

which is already installed in my Ubuntu 18.04 installation. Running: pip3 install --user . also installs numpy-1.17.2

Although it might be UBUNTU issue, pip must provide a way to bypass this (by something like --not-ignore-installed or --ignore-installed=False or something else) because is truly undesirable in almost any pip installation because:

  1. the version is not un-installed when package is uninstalled.
  2. (most important) the version is silently used to other personal python scripts making them depended not to the current OS version but to some fuzzy version.

@chrahunt
Copy link
Member

@Xoristzatziki, as mentioned in the other thread you can use export PIP_IGNORE_INSTALLED=0 then subsequent calls to pip in that shell will have the expected behavior.

@no-response
Copy link

no-response bot commented Nov 9, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Nov 9, 2019
@Xoristzatziki
Copy link

Sorry for reopening this.
@chrahunt commented that there is a way for me (personal) to avoid that if I (personally, as end user) already know the problem of Debian/Ubuntu packaging.
This does not solve the issues arising in any other unaware user's computer that tries to use any of the packages in pypi.org.

Since now is known that a bad-behavior exists in some major distributions, my thought is that at least a well formatted warning should be issued, perhaps with some kind of "do this" or "do that" or even by directing the user to this exact page.
That way many other problems that probably arise on unaware user's computers will be also eliminated.

(PS.: No further info or responses will be provided by me, so, if desired, close again this issue a.s.a.p. and forgive me for reopening)

@1313e
Copy link

1313e commented Nov 28, 2019

The solution to this problem (and many, many others) is to use Anaconda and never rely or use the system Python distribution.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Dec 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2019
@pradyunsg pradyunsg removed the S: awaiting response Waiting for a response/more information label Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation project: <downstream> When the cause/effect is related to redistributors type: support User Support
Projects
None yet
Development

No branches or pull requests

5 participants