46

I am running Python on a Windows machine at the following path:

C:\WinPython-64bit-3.4.4.1

I am trying to upgrade to the latest version of pandas (currently running '0.17.1') but am having problems.

I have looked at previous posts and have tried on the command line using :

c:/>pip install --upgrade pandas

but just got 'pip is not recognised as an internal or external command, operable program or batch file'.

halfer
  • 18,701
  • 13
  • 79
  • 158
Stacey
  • 3,977
  • 13
  • 42
  • 73
  • 3
    How did you install pandas originally? Many people now use `conda`, part of the Anaconda distribution. – chrisaycock Jun 21 '16 at 20:42
  • 1
    I think you can check this [question](http://stackoverflow.com/questions/23708898/pip-is-not-recognized-as-an-internal-or-external-command) – jezrael Jun 21 '16 at 20:43
  • Does this answer your question? ['pip' is not recognized as an internal or external command](https://stackoverflow.com/questions/23708898/pip-is-not-recognized-as-an-internal-or-external-command) – AMC Apr 24 '20 at 01:25

4 Answers4

97

try

pip3 install --upgrade pandas
Tim Seed
  • 4,183
  • 1
  • 25
  • 25
36

Simple Solution, just type the below:

conda update pandas 

Type this in your preferred shell (on Windows, use Anaconda Prompt as administrator).

Chiel
  • 526
  • 1
  • 5
  • 19
Gil Baggio
  • 8,887
  • 2
  • 40
  • 32
3

Add your C:\WinPython-64bit-3.4.4.1\python_***\Scripts folder to your system PATH variable by doing the following:

  1. Select Start, select Control Panel. double click System, and select the Advanced tab.
  2. Click Environment Variables. ...

  3. In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. ...

  4. Reopen Command prompt window
Dmitry Andreev
  • 882
  • 7
  • 7
0

According to an article on Medium, this will work:

install --upgrade pandas==1.0.0rc0

Kevin Gao
  • 85
  • 5