On 30/10/2015 17:45, Neal Becker wrote:
Chris Warrick wrote:

On 30 October 2015 at 13:14, Neal Becker <ndbeck...@gmail.com> 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

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to