MAC python+selenium Environment Configuration

Source: Internet
Author: User

Only contact with the Mac, the following is the online search for information on my computer to install the successful process, as far as possible to attach the original address.

1.selenium Installation

https://www.zhihu.com/question/30496889

Many tutorials on the web are similar to this, 1.1 download pip "Python installation package management tool"

https://pypi.org/project/pip/

Unzip the downloaded PIP file, open the terminal, CD to the directory, execute the sudo python setup.py install

1.2. Return to the home directory and execute sudo easy_inatall pip

In the third step, I tried several commands to prompt for no suitable version, do not know is because I have two versions of Python (Mac comes with python2.7, I downloaded the python3.6) and then follow this article to install the successful

53082896

Pip List view the installation package in the system, Pip and Setuptools are already installed on the computer

1.3. Implementationpython3 -m pip install selenium

1.4 Firefox, Google Chrome driver installation (prompt without permission, with sudo)

Https://github.com/mozilla/geckodriver/releases

sudo mv/cp downloads/geckodriver/usr/local/bin

2.pycharm hack

79119540?

2.1 Download cracked patch file, path: Http://idea.lanyus.com/jar/JetbrainsCrack-2.7-release-str.jar

2.2 Place the patch under the/bin path of the installation package, and view the installation directory in your Mac Ps-ef | grep pycharm

2.3 Editing the pycharm.vmoptions in the/bin directory

VI pycharm.vmoptions

Input I into edit mode

Insert-javaagent:.. /bin/jetbrainscrack-2.7-release-str.jar

Press ESC, in input: wq! Save exit

2.4 Then open idea, enter the activation window at this point you need to select activation mode activation code, and enter the following activation code to activate:

Activation Code:

Big3clik6f-eyjsawnlbnnlswqioijcsuczq0xjszzgiiwibgljzw5zzwvoyw1lijoibgfuihl1iiwiyxnzawduzwvoyw1lijoiiiwiyxnzawduzwvfbwfpbc I6iiisimxpy2vuc2vszxn0cmljdglvbii6ikzvciblzhvjyxrpb25hbcb1c2ugb25sesisimnozwnrq29uy3vycmvudfvzzsi6zmfsc2usinbyb2r1y3rzijp Beyjjb2rlijoiqumilcjwywlkvxbubyi6ijiwmtctmtetmjmifsx7imnvzguioijetsisinbhawrvcfrvijoimjaxny0xms0ymyj9lhsiy29kzsi6ikljiiwi Cgfpzfvwvg8ioiiymde3ltexltizin0seyjjb2rlijoiulmwiiwicgfpzfvwvg8ioiiymde3ltexltizin0seyjjb2rlijoiv1milcjwywlkvxbubyi6ijiwm Tctmtetmjmifsx7imnvzguioijeue4ilcjwywlkvxbubyi6ijiwmtctmtetmjmifsx7imnvzguioijsqyisinbhawrvcfrvijoimjaxny0xms0ymyj9lhsiy2 9kzsi6ilbtiiwicgfpzfvwvg8ioiiymde3ltexltizin0seyjjb2rlijoiremilcjwywlkvxbubyi6ijiwmtctmtetmjmifsx7imnvzguioijeqiisinbhawr Vcfrvijoimjaxny0xms0ymyj9lhsiy29kzsi6iljniiwicgfpzfvwvg8ioiiymde3ltexltizin0seyjjb2rlijoiuemilcjwywlkvxbubyi6ijiwmtctmtet Mjmifsx7imnvzguioijdtcisinbhawrvcfrvijoimjaxny0xms0ymyj9xswiagfzaci6ijq3nzu1mtcvmcisimdyywnlugvyaw9krgf5cyi6mcwiyxv0b1byb 2xvbmdhdGVkIjpmYWxzZSwiaXNBdXRvUhjvbg9uz2f0zwqiomzhbhnlfq==- iygsimxtvesyykuxaqphmymrgwn5inkoferhhpipa88fo9fruzosibty18tflchacznk3qfert7imgkm7pumdtr4fbvvlk/ 3n1er0emku2ncaxb7m10xt6klw1xb3ltuzenuis5pyuewt1zr7gskenwdyz0dajpndlfrqpyapo5s1kldhkpw+vfvd4uf7rmjoizujhaayag+ amyivqt61i9ayiwphqvuphvtwi0x0ql/odjhaqbiv4qwscyo4ayzjbkutyiozh9rgop6yw/scltpopwljtdocw/ iewyicvg1ph9awjcyxz9abbebowv71iqr5vwrsqfz7cg7hlej3a==- Miiepjccaiagawibagibbtanbgkqhkig9w0baqsfadaymrywfaydvqqdda1kzxrqcm9mawxlienbmb4xdte1mtewmja4mje0ofoxdte4mtewmta4mje0ofowe tepma0ga1ueawwgchjvzdn5miibijanbgkqhkig9w0baqefaaocaq8amiibcgkcaqeaxcqkq+ zdxlr2mmrybpzgbundmn6oaxixzxiwtmekrjmo/5oufqjbllumsmk0qhfmai37wshyxzcfrcidwxjot4zmnbknlyhoddij/78tmvqfl8noed5+ 07b8veaiu7c3e1n+e1doc6wht4i4+iemtspadoaj5wcqvqbri8ket8m9vcbiwx7fd0fhexfg3zrt0xqwmcxgnp3ddjhio0rcdu+ itv7emtnsvq9jbg1usmsfvmowr25mju2jcpfp1+i4zi+fqgr8gyg8oindyneoabsr3lopi7gruysvkb/xvy/ Voklpck2h0f0gjxfjnye8nt1paywoyl7rmiavre/ Ekwidaqabo4gzmigwmakga1udewqcmaawhqydvr0obbyefgepg9ozgcflmgnbky7sghimggtcmegga1udiwrbmd+afkoetkhnqhi2qb1t4lm0ofkll/ Gzorykgjaymrywfaydvqqdda1kzxrqcm9mawxlienbggka0myxg7kdeeewewydvr0lbawwcgyikwybbquhawewcwydvr0pbaqdagwgma0gcsqgsib3dqebcwu aa4icaqc9wzuygqedsuoc5tousrrigmw4/+wuc5etzbfvdl4ht/8vzmw/oulip4ycva0xkybacj2ix+zcdkopfiyxiasih+ hxapv6j79vvouxkrwg2xv6shftplp+0gpdgq3x9r3+kjbmam8w+fodlwqafjrlvpzmgnedu14ygxiz9bvzmiqbwrba+c/f4tlk/ dv07dsnexihqfoibnqdivntgombau2ddup2gwkdl81ua8eicgnexhe82kjf4zwfadhk3bqvvbfdawxcdy4xbjs3l4raplu3yenszr/oeur1+ jfoxnqsmecmxkxgraq9u55gwjcofkrgoxedek/sk1vfojvs+num4eyerufmfazhzoqiuw4iqggc45ohfh0uuyjycufxxdsu9lmcv8qdhkm+ wnprb0l9l5vxscbduhagyd6ss+ga+ady6f/qxzuuceuoh3qunbbculvisz6+girnt1ka9n2qachl+ 2ybfaquqr8h7z2gsx5lcif5kynsqj0gavxtvywh7pyikx4bs354zqluwwa/cg++2+wnwp+htbhvxmrntdvhsm38aknzld+ ptaswgu9gylmhti2envwgybsd2dxmhxk3ipckhkak+ pl0ewygzwg3tj9mz7sowcxlwdfak0lrjnkgfmtggrwjv8gypw5bq23vmiqqdlgknzuoog==  

MAC python+selenium Environment Configuration

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.