Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Mark Lawrence Newsgroups: comp.lang.python Subject: Re: pip trouble Date: Fri, 30 Oct 2015 23:27:52 +0000 Organization: A noiseless patient Spider Lines: 58 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="0a58b1380be955ba1fde924ec1d96a09"; logging-data="10508"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fjKwSJrC9asm2X+xwX+tb" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 List-Help: Cancel-Lock: sha1:sWG18p2webyiUT8BKOvCcQeZqfM= Delivered-To: python-list@mail.python.org List-Id: General discussion list for the Python programming language X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'distutils': 0.05; 'from:addr:yahoo.co.uk': 0.05; 'tries': 0.05; 'deprecated': 0.07; 'setup.py': 0.07; '(aka': 0.09; 'cached': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'uninstalled': 0.09; '--help"': 0.16; '-u,': 0.16; '13:14,': 0.16; 'numpy': 0.16; 'packages:': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'uninstall': 0.16; 'uninstalling': 0.16; 'url:pip': 0.16; 'wrote:': 0.16; 'version.': 0.18; 'language': 0.19; '>>>': 0.20; '2015': 0.20; 'lawrence': 0.22; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; 'collecting': 0.27; 'see,': 0.27; 'fedora': 0.29; 'installed,': 0.29; 'matplotlib': 0.29; 'asked': 0.29; 'that.': 0.30; 'url:mailman': 0.30; 'skip:s 30': 0.31; 'option': 0.31; 'language.': 0.32; 'url:python': 0.33; 'url:listinfo': 0.34; 'running': 0.34; 'skip:c 30': 0.35; 'installing': 0.35; 'newer': 0.35; 'skip:p 30': 0.35; 'but': 0.36; 'project': 0.36; 'url:org': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'requirement': 0.37; 'skip:p 20': 0.38; 'url:en': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'mark': 0.40; 'future': 0.60; 'charset:windows-1252': 0.62; 'skip:n 10': 0.62; 'our': 0.64; 'due': 0.65; '--user': 0.84; 'becker': 0.84; 'partially': 0.84; 'pip': 0.84; 'pythonistas,': 0.84; 'url:readthedocs': 0.84; 'url:reference': 0.91 X-Gmane-NNTP-Posting-Host: 212.88.58.120 Precedence: list X-Injected-Via-Gmane: http://gmane.org/ List-Unsubscribe: , List-Archive: X-Spam-Status: OK 0.001 In-Reply-To: List-Post: X-Mailman-Version: 2.1.20+ X-BeenThere: python-list@python.org Return-Path: X-Original-To: python-list@python.org List-Subscribe: , Xref: csiph.com comp.lang.python:98011 On 30/10/2015 17:45, Neal Becker wrote: > Chris Warrick wrote: > >> On 30 October 2015 at 13:14, Neal Becker wrote: >>> I have a custom-compiled numpy 1.10.0. But as you see, pip wants to >>> install a new numpy, even though the requirement (numpy>=1.6) was already >>> satisfied. WTF? >>> >>> All are installed into --user. >>> >>> This is on fedora 22 linux. >>> >>> pip install --up --user matplotlib >>> Collecting matplotlib >>> Using cached matplotlib-1.5.0.tar.gz >>> Collecting numpy>=1.6 (from matplotlib) >>> Using cached numpy-1.10.1.tar.gz >>> Requirement already up-to-date: python-dateutil in >>> ./.local/lib/python2.7/site-packages (from matplotlib) >>> Collecting pytz (from matplotlib) >>> Using cached pytz-2015.7-py2.py3-none-any.whl >>> Collecting cycler (from matplotlib) >>> Using cached cycler-0.9.0-py2.py3-none-any.whl >>> Collecting pyparsing!=2.0.4,>=1.5.6 (from matplotlib) >>> Using cached pyparsing-2.0.5-py2.py3-none-any.whl >>> Collecting six>=1.5 (from python-dateutil->matplotlib) >>> Using cached six-1.10.0-py2.py3-none-any.whl >>> Installing collected packages: numpy, pytz, six, cycler, pyparsing, >>> matplotlib >>> Found existing installation: numpy 1.10.0 >>> DEPRECATION: Uninstalling a distutils installed project (numpy) has >>> been >>> deprecated and will be removed in a future version. This is due to the >>> fact that uninstalling a distutils project will only partially uninstall >>> the project. >>> Uninstalling numpy-1.10.0: >>> Successfully uninstalled numpy-1.10.0 >>> Running setup.py install for numpy >>> >>> -- >>> https://mail.python.org/mailman/listinfo/python-list >> >> You used --up (aka -U, --upgrade). That option tries to upgrade the >> package you asked for *and* all dependencies. And since numpy 1.10.1 >> is newer than what you have installed, pip will try to install that. >> > > How can I ask to upgrade just matplotlib, and not deps? > Try https://pip.readthedocs.org/en/stable/reference/pip_install/ or "pip install --help" -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence