WIN10下直接安装pip install pandas报错 解决 2021-04-12

WIN10下直接安装报错:

C:\Users\Administrator>pip install pandas
'pip' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

解决  :直接在CMD后输入 :
C:\Users\Administrator>python -m pip install pandas -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Looking in indexes: http://pypi.douban.com/simple/

 

成功:

Collecting pandas
  Downloading http://pypi.doubanio.com/packages/90/58/4535d4f9cb8bdd8c7a6fea4a1cb09380caadf7b477b059b7cbeb162378f2/pandas-1.2.3-cp38-cp38-win_amd64.whl (9.3 MB)
     |████████████████████████████████| 9.3 MB 6.4 MB/s
Collecting numpy>=1.16.5
  Downloading http://pypi.doubanio.com/packages/89/c3/a0fa36e9fea68f782d3ce5eba4187d090ec81db035e356c8046713b22a1f/numpy-1.20.2-cp38-cp38-win_amd64.whl (13.7 MB)
     |████████████████████████████████| 13.7 MB 6.4 MB/s
Collecting python-dateutil>=2.7.3
  Downloading http://pypi.doubanio.com/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 6.8 MB/s
Collecting pytz>=2017.3
  Downloading http://pypi.doubanio.com/packages/70/94/784178ca5dd892a98f113cdd923372024dc04b8d40abe77ca76b5fb90ca6/pytz-2021.1-py2.py3-none-any.whl (510 kB)
     |████████████████████████████████| 510 kB 6.8 MB/s
Collecting six>=1.5
  Downloading http://pypi.doubanio.com/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: six, pytz, python-dateutil, numpy, pandas
  WARNING: The script f2py.exe is installed in 'C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed numpy-1.20.2 pandas-1.2.3 python-dateutil-2.8.1 pytz-2021.1 six-1.15.0

你可能感兴趣的:(工具软件,深度学习)