1. python
下载地址:
https://www.python.org/ftp/python/2.7.16/python-2.7.16.amd64.msi
添加安装路径到环境变量Path:
C:\Python27;C:\Python27\Scripts;
python --version
Python 2.7.16
pip list
Package Version
---------- -------
pip 18.1
setuptools 40.6.2
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
参考:
https://www.python.org/downloads/release/python-2716/
2. robotframework
pip install robotframework
Collecting robotframework
Downloading https://files.pythonhosted.org/packages/22/0f/1b9ffa0c4e59789b50e6034866e823b7d4a5c7eaedad7bfd0bba42f2aa9d/robotframework-3.1.2-py2.py3-none-any.whl (602kB)
100% |████████████████████████████████| 604kB 8.6kB/s
Installing collected packages: robotframework
Successfully installed robotframework-3.1.2
3. robotframework-ride
pip install robotframework-ride
Collecting robotframework-ride
Downloading https://files.pythonhosted.org/packages/4e/a6/1835a17fa566b19c166735a9a75d55101e53b68566771ddb0b690dd4be83/robotframework_ride-1.7.3.1-py2.py3-none-any.whl (926kB)
100% |████████████████████████████████| 931kB 25kB/s
Collecting Pygments (from robotframework-ride)
Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB)
100% |████████████████████████████████| 890kB 10kB/s
Collecting robotframeworklexer (from robotframework-ride)
Downloading https://files.pythonhosted.org/packages/9a/9f/a1fcd44548cbd78e52a31277c1c69a421c32186db9cdb5ccc2effec0e633/robotframeworklexer-1.1.tar.gz
Collecting wxPython (from robotframework-ride)
Downloading https://files.pythonhosted.org/packages/70/a1/c51e4e6bcd3e6f0051bac2cf252e292f2bbf494e92977ec7df4ec253befb/wxPython-4.0.6-cp27-cp27m-win_amd64.whl (22.8MB)
100% |████████████████████████████████| 22.8MB 556kB/s
Collecting Pypubsub (from robotframework-ride)
Downloading https://files.pythonhosted.org/packages/95/5a/1801be1a63af9250e79b8941a37b88e3ca0d660b880b9862fe9016ae6a3a/PyPubSub-3.3.0.zip (87kB)
100% |████████████████████████████████| 92kB 749kB/s
Requirement already satisfied: robotframework in c:\python27\lib\site-packages (from robotframework-ride) (3.1.2)
Collecting Pywin32 (from robotframework-ride)
Downloading https://files.pythonhosted.org/packages/83/cc/2e39fa39b804f7b6e768a37657d75eb14cd917d1f43f376dad9f7c366ccf/pywin32-224-cp27-cp27m-win_amd64.whl (7.4MB)
100% |████████████████████████████████| 7.4MB 906kB/s
Collecting numpy (from wxPython->robotframework-ride)
Downloading https://files.pythonhosted.org/packages/a6/db/18770d6b8419188d56b8ddd9794cb34c2d9f1d272ed8b40fa1ee38a3ca06/numpy-1.16.4-cp27-cp27m-win_amd64.whl (11.9MB)
100% |████████████████████████████████| 11.9MB 747kB/s
Collecting six (from wxPython->robotframework-ride)
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pillow (from wxPython->robotframework-ride)
Downloading https://files.pythonhosted.org/packages/0e/81/158a63ff32ea444d4f858a9475da98a956ef5cd3011f677c6c5c8064efe5/Pillow-6.1.0-cp27-cp27m-win_amd64.whl (1.9MB)
100% |████████████████████████████████| 1.9MB 882kB/s
Installing collected packages: Pygments, robotframeworklexer, numpy, six, pillow, wxPython, Pypubsub, Pywin32, robotframework-ride
Running setup.py install for robotframeworklexer ... done
Running setup.py install for Pypubsub ... done
Successfully installed Pygments-2.4.2 Pypubsub-3.3.0 Pywin32-224 numpy-1.16.4 pillow-6.1.0 robotframework-ride-1.7.3.1 robotframeworklexer-1.1 six-1.12.0 wxPython-4.0.6
4. robotframework-sshlibrary
pip install robotframework-sshlibrary
Collecting robotframework-sshlibrary
Downloading https://files.pythonhosted.org/packages/d3/51/a12a1b9dd88167c85f03bda5ca2c1a0a21e5a44de026112b82c13358f26c/robotframework-sshlibrary-3.5.1.tar.gz (49kB)
100% |████████████████████████████████| 51kB 154kB/s
Requirement already satisfied: robotframework>=3.0 in c:\python27\lib\site-packages (from robotframework-sshlibrary) (3.1.2)
Collecting paramiko>=1.15.3 (from robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/95/19/124e9287b43e6ff3ebb9cdea3e5e8e88475a873c05ccdf8b7e20d2c4201e/paramiko-2.7.2-py2.py3-none-any.whl (206kB)
100% |████████████████████████████████| 215kB 277kB/s
Collecting scp>=0.13.0 (from robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/4d/7a/3d76dc5ad8deea79642f50a572e1c057cb27e8b427f83781a2c05ce4e5b6/scp-0.13.2-py2.py3-none-any.whl
Collecting win_inet_pton>=1.1.0 (from robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/be/31/ff772a44aa56319df8afbb0b34f1a856f66f05b9d5f1fed917849e47fdae/win_inet_pton-1.1.0-py2.py3-none-any.whl
Collecting pynacl>=1.0.1 (from paramiko>=1.15.3->robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/d8/4c/b9911c363e9d69b7de636a435d44b49d113df98a064df7386a8ad57c342b/PyNaCl-1.4.0-cp27-cp27m-win_amd64.whl (192kB)
100% |████████████████████████████████| 194kB 161kB/s
Collecting cryptography>=2.5 (from paramiko>=1.15.3->robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/30/52/7919a88877e5192bd09cfae46de37ecdbbb06a9bb743f50c334dd1721863/cryptography-3.1.1-cp27-cp27m-win_amd64.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 120kB/s
Collecting bcrypt>=3.1.3 (from paramiko>=1.15.3->robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/c8/8b/5abea82f1036ccce6bf68114767396b7877567831fddf879c3041601cf2a/bcrypt-3.1.7-cp27-cp27m-win_amd64.whl
Requirement already satisfied: six in c:\python27\lib\site-packages (from pynacl>=1.0.1->paramiko>=1.15.3->robotframework-sshlibrary) (1.12.0)
Collecting cffi>=1.4.1 (from pynacl>=1.0.1->paramiko>=1.15.3->robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/05/7e/e60348fc9e1ccb72d69c8b766fd3c55b8b6f473ed59725b5685f337553ea/cffi-1.14.3-cp27-cp27m-win_amd64.whl (172kB)
100% |████████████████████████████████| 174kB 119kB/s
Collecting enum34; python_version < "3" (from cryptography>=2.5->paramiko>=1.15.3->robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/6f/2c/a9386903ece2ea85e9807e0e062174dc26fdce8b05f216d00491be29fad5/enum34-1.1.10-py2-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography>=2.5->paramiko>=1.15.3->robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/c2/f8/49697181b1651d8347d24c095ce46c7346c37335ddc7d255833e7cde674d/ipaddress-1.0.23-py2.py3-none-any.whl
Collecting pycparser (from cffi>=1.4.1->pynacl>=1.0.1->paramiko>=1.15.3->robotframework-sshlibrary)
Downloading https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl (112kB)
100% |████████████████████████████████| 112kB 139kB/s
Installing collected packages: pycparser, cffi, pynacl, enum34, ipaddress, cryptography, bcrypt, paramiko, scp, win-inet-pton, robotframework-sshlibrary
Running setup.py install for robotframework-sshlibrary ... done
Successfully installed bcrypt-3.1.7 cffi-1.14.3 cryptography-3.1.1 enum34-1.1.10 ipaddress-1.0.23 paramiko-2.7.2 pycparser-2.20 pynacl-1.4.0 robotframework-sshlibrary-3.5.1 scp-0.13.2 win-inet-pton-1.1.0