The pits that are encountered when building a appium environment

Source: Internet
Author: User
Tags appium

Use the cnpm install-G appium command to mount the Times error:

Gyp err! Configure Error

Gyp err! Stack Error:can ' t find Python executable "C:\Python\python. EXE ", you c aset the PYTHON env variable

There is a problem with python from the wrong prompt, but there is no problem with the configuration of the Python installation and environment variables. Later on the Internet to find this problem, the online answer is Python version of the high (I installed Python3.5).

Uninstall the original Python3.5, install Python2.7, re-enter CNPM install -G appium, not reported Python-related errors (really strange). However, the installation fails, suggesting that some related system components are missing.

Install the system components using NPM install-Global --production windows-build-tools command, re-use CNPM install after installation- G Appium,appium installed successfully. Then use the appium-doctor command

Check the installation of environment variables and still indicate that some environments are not configured well

Stuck in the problem for a week, the various online solutions have not been found. Backstage asked a master, he said you open the environment variable path detection to see if the environment variable is set, if you have set the description appium-doctor identify some problems, you open the CMD input appium see can start the service, if it can start normally, the problem is not big, Don't dwell on that hint. Since then the establishment of the Appium environment.

The pits that are encountered when building a appium environment

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.