This blog mainly tells about the construction of the Python environment under Windows (thanks to the original author!!) )1. Python Basic Environment installation:
Download the Windows version of the Python installation package on the website of python, Double-click the downloaded installation package, Select the PIP and add Python.exe to path two options during the installation process, Win+r enter Python after the installation is pressed into the command line, The following results show that the installation is complete
To exit the command line under Input mode press CTRL + Z and press ENTER to enter the key to exit
2. Basic Dependency Library installation of Windows Python because the PIP is selected during the initial Python installation, the additional dependent libraries of Python can be managed via pip, where NumPy and matplotlib are installed via PIP Download. Here Matplotlib as an example to explain, the other is to follow this mode of installation, relatively simple first, update the version of the Python Windows pip, on the win+r command line input:
Pip Install Pip–-upgrade
Then enter the following command to Install:
Pip Install Matplotlib
Download installation package: installation complete: scipy installation: due to the direct input at the command line interface:
Pip Install scipy
Unable to correctly install the following error: found the solution on sourceforce, Win32 version but for Win32 version, in 64bit machine reported wrong ... Follow-up resolution 3. Install Pycharmpycharm installation is relatively simple, in the website Link pycharm official website to download the version you want (professional and community), the detailed installation details are simple, here do not repeat. This is only used as a learning, to provide the online Pycharm 2016 2 registration code (note: for the layout needs me to add a carriage return in the string):
43b4a73yyj-eyjsawnlbnnlswqioii0m0i0qtczwvlkiiwibgljzw5zzwvoyw1lijoibgfuihl1iiwiyxnzawduzwvoyw1lijoiiiwiyxnzawduzwvfbwfpbc I6iiisimxpy2vuc2vszxn0cmljdglvbii6ikzvciblzhvjyxrpb25hbcb1c2ugb25sesisimnozwnrq29uy3vycmvudfvzzsi6zmfsc2usinbyb2r1y3rzijp Beyjjb2rlijoisukilcjwywlkvxbubyi6ijiwmtctmditmjuifsx7imnvzguioijbqyisinbhawrvcfrvijoimjaxny0wmi0ynsj9lhsiy29kzsi6ikrqtiis Inbhawrvcfrvijoimjaxny0wmi0ynsj9lhsiy29kzsi6ilbtiiwicgfpzfvwvg8ioiiymde3ltaylti1in0seyjjb2rlijoire0ilcjwywlkvxbubyi6ijiwm Tctmditmjuifsx7imnvzguioijdtcisinbhawrvcfrvijoimjaxny0wmi0ynsj9lhsiy29kzsi6iljtmcisinbhawrvcfrvijoimjaxny0wmi0ynsj9lhsiy2 9kzsi6iljdiiwicgfpzfvwvg8ioiiymde3ltaylti1in0seyjjb2rlijoiuemilcjwywlkvxbubyi6ijiwmtctmditmjuifsx7imnvzguioijstsisinbhawr Vcfrvijoimjaxny0wmi0ynsj9lhsiy29kzsi6ildtiiwicgfpzfvwvg8ioiiymde3ltaylti1in0seyjjb2rlijoireiilcjwywlkvxbubyi6ijiwmtctmdit Mjuifsx7imnvzguioijeqyisinbhawrvcfrvijoimjaxny0wmi0ynsj9xswiagfzaci6ijmzotgyotkvmcisimdyywnlugvyaw9krgf5cyi6mcwiyxv0b1byb 2xvbmdhdGVkIjpmYWxzZSwiaXNBdXRvUHjvbg9uz2f0zwqiomzhbhnlfq==-keaxikrgxpke4br/zts7s7ukp92lbxre57hvwamu1ehvxtcv1b4f/knqirpopn6dgpjig5emvmpmo7ympl +bmwq8ptzacgfulqchd1ngo6ywhkiqy0nr249sauvacl2wgjwao4jeoh1opux8chzsbvrzbmz0/mgyygi7duyaff9jqqfh3p/ bhdtnm8ekl6z5tnnez8zg5bg1xvqftqwk4fhgsewdk7b+ He44hpjbxkql2gmzaodb6g9yxfthhvrkqy5hq7kpxnvh3ikerhkoal5apgsvbzjotde2kdytnglmqxghfx6l0ofqki6hmr48ergmyfldk6wlngwjvyhlww ==-miiepjccaiagawibagibbtanbgkqhkig9w0baqsfadaymrywfaydvqqdda1kzxrqcm9mawxlienbmb4xdte1mtewmja4mje0ofoxdte4mtewmta4mje0of owetepma0ga1ueawwgchjvzdn5miibijanbgkqhkig9w0baqefaaocaq8amiibcgkcaqeaxcqkq+ 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==
4. Test a new project in Pycharm to test, enter the following code:
<span lang= "zh-cn" >#-*-coding:utf-8-*-</span><span lang= "en-us" > #</span>& Lt;span lang= "zh-cn" > Note </span><span lang= "en-us" >#</span><span lang= "zh-cn" > with a space behind it </span>import NumPy as Npimport matplotlib.pyplot as Pltx = Np.arange (0, 2*np.pi, 0.1) y = np.sin (x) plt.figure ("sin") Plt.title ("Sin Curve") plt.xlabel ("x Label") plt.ylabel ("y Label") plt.plot (X, y, ' r^ ') plt.show ()
Get the running Result:
Add: because of the problem of unsuccessful download when installing Python package later, Find out the solution, please see this article "using Python's own PIP management tool under Win7" download
Registration Activation:python,pycharm2017 installation tutorial, including registration codePycharm-professional-2017.1.1.exe Pro activation method with last run Result: very excited!!! 22:46:05
-
"go" Windows 64bit Python environment configuration with integrated IDE Pycharm