If you really want to use complicated command line switches I think the
correct ones are:

pip install -U --no-deps pandas
pip install pandas

(Yes, you have to run both commands in order to handle all cases correctly.)

-n
On 30 May 2014 23:54, "Matthew Brett" <matthew.br...@gmail.com> wrote:

> Hi,
>
> On Fri, May 30, 2014 at 3:31 PM, Matthew Brett <matthew.br...@gmail.com>
> wrote:
> > Hi,
> >
> > On Fri, May 30, 2014 at 3:16 PM, Neal Becker <ndbeck...@gmail.com>
> wrote:
> >> pip install --user --up pandas
> >> Downloading/unpacking pandas from
> >>
> https://pypi.python.org/packages/source/p/pandas/pandas-0.14.0.tar.gz#md5=b775987c0ceebcc8d5ace4a1241c967a
> >> ...
> >>
> >> Downloading/unpacking numpy>=1.6.1 from
> >>
> https://pypi.python.org/packages/source/n/numpy/numpy-1.8.1.tar.gz#md5=be95babe263bfa3428363d6db5b64678
> >> (from pandas)
> >>   Downloading numpy-1.8.1.tar.gz (3.8MB): 3.8MB downloaded
> >>   Running setup.py egg_info for package numpy
> >>     Running from numpy source directory.
> >>
> >>     warning: no files found matching 'tools/py3tool.py'
> >>     warning: no files found matching '*' under directory 'doc/f2py'
> >>     warning: no previously-included files matching '*.pyc' found
> anywhere in
> >> distribution
> >>     warning: no previously-included files matching '*.pyo' found
> anywhere in
> >> distribution
> >>     warning: no previously-included files matching '*.pyd' found
> anywhere in
> >> distribution
> >> Downloading/unpacking six from
> >>
> https://pypi.python.org/packages/source/s/six/six-1.6.1.tar.gz#md5=07d606ac08595d795bf926cc9985674f
> >> (from python-dateutil->pandas)
> >>   Downloading six-1.6.1.tar.gz
> >>   Running setup.py egg_info for package six
> >>
> >>     no previously-included directories found matching
> 'documentation/_build'
> >> Installing collected packages: pandas, pytz, numpy, six
> >> ....
> >>
> >> What?  I already have numpy-1.8.0 installed (also have six, pytz).
> >
> > Yes, this is a very unfortunate feature of pip --upgrade - it does a
> > recursive upgrade of all dependent packages:
> >
> >
> http://pip.readthedocs.org/en/latest/reference/pip_install.html#cmdoption-U
> > https://github.com/pypa/pip/issues/304
> >
> > Maybe you could just do:
> >
> > pip install --ignore-install pandas
> >
> > instead?
>
> Seconding Nathaniel's suggestion instead:
>
> pip install --ignore-installed pandas
>
> (note fixed typo s/ignore-install/ignore-installed/) also tries to
> upgrade numpy.
>
> Cheers,
>
> Matthew
>
> --
> You received this message because you are subscribed to the Google Groups
> "PyData" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pydata+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to