Python learns to record the RF of essays

Source: Internet
Author: User

RF Installation Record

1.Python installation, the current RF only supports 2.X version (official website: https://www.python.org/); after installation, add the installation path to the environment variable path to use the Python command at the command prompt interface.

2.pip Install (Install pakages command pack), download path: https://pypi.python.org/pypi/pip/9.0.1, unzip after download, use CD command in command Prompt window to unpack directory--' Python setup.py install '. After successful installation, you can use PIP install pakagesname to uninstall the command pip Uninstall Pakagesename when installing additional pakeges.

3. Installing Robotframework

    1. Install the runtime Wxpython that supports the ride interface first. There are two ways to install it:

A. Download the installation from the network using the PIP command: ' pip install-u https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 \wxpython ' ( Reference: https://wxpython.org/pages/downloads/)

B. The second installation is: Download the installation package and then install the ' pip install PAKAGESNAME.WHL ' command. During installation, if you are prompted, "is not a supported wheel on this platform." Error, PIP does not support the currently downloaded version, viewing the current PIP supported version, which can be used in ' import pip '; Print (pip.pep425tags.get_supported ()) ' Command view, as shown in ""

Download WxPython Address: https://pypi.python.org/pypi/wxPython/4.0.0b2, choose the same version as the Python environment (not necessarily the version of the computer, if the device is 64-bit, The Python version is 32-bit and you still need to install the 32-bit version of Wxpython, Python-v command to view the currently installed Python version.

2. Wxpython installation is complete, you can start installing ride, "https://pypi.python.org/pypi/robotframework-ride/". RF installation is now successful.

After installation, you can add ride.py to the path path (ride.py is installed by default in the Python installation directory scripts), the runtime enters ride.py on the command line to open the graphical interface, or add a shortcut to the desktop to enter C : \python27\pythonw.exe-c "from robotide import main; Main () ", Icon from Python27\lib\site-packages\robotide\widgets\robot.ico.

Python learns to record the RF of essays

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.