{"id":8773,"date":"2024-04-23T09:46:02","date_gmt":"2024-04-23T01:46:02","guid":{"rendered":"https:\/\/www.1ai.net\/?p=8773"},"modified":"2024-04-23T09:46:02","modified_gmt":"2024-04-23T01:46:02","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e7%94%b5%e8%84%91%e4%b8%8a%e5%ae%89%e8%a3%85python%ef%bc%9fai%e5%ad%a6%e4%b9%a0%e7%ac%ac%e4%b8%80%e6%ad%a5python%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/8773.html","title":{"rendered":"How to install Python on your computer? The first step in learning AI: Setting up the Python environment"},"content":{"rendered":"<p data-track=\"1\" data-pm-slice=\"0 0 []\">Recently, Tiangong open-sourced a 100 billion-dollar model, and then Meta Llama3 also announced that it would be open-source.<\/p>\n<p data-track=\"2\">In addition to investigating the use of<a href=\"https:\/\/www.1ai.net\/en\/tag\/ai%e5%ba%94%e7%94%a8%e5%b7%a5%e5%85%b7\" title=\"[SEE ARTICLES WITH [AI APPLICATION TOOL] LABELS]\" target=\"_blank\" >AI Application Tools<\/a>We have also considered writing an AI application tool based on the open source large model.<\/p>\n<p data-track=\"3\">Development tools are indispensable<a href=\"https:\/\/www.1ai.net\/en\/tag\/python\" title=\"_Other Organiser\" target=\"_blank\" >Python<\/a>, so you have to install Python first.<\/p>\n<p data-track=\"4\">I heard that Kimi is also a good helper in writing code, so I asked Kimi out of habit to see what his answer would be.<\/p>\n<p data-track=\"5\">Tip: How to install Python on your computer? (Windows users)<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8774\" title=\"get-734\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-734.jpg\" alt=\"get-734\" width=\"1080\" height=\"1281\" \/><\/div>\n<p data-track=\"6\">Next, let\u2019s learn step by step how Windows users can install Python on their computers.<\/p>\n<p class=\"pgc-h-arrow-right\" data-track=\"9\"><strong>Download and install Python<\/strong><\/p>\n<p data-track=\"10\">Open Python&#039;s official website download page: https:\/\/www.python.org\/downloads\/<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8775\" title=\"get-735\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-735.jpg\" alt=\"get-735\" width=\"1080\" height=\"634\" \/><\/div>\n<p data-track=\"12\">The website usually automatically recommends the Python version that applies to your Windows system. We click here.\"<strong>Download Python 3.12.3<\/strong>\"Buttons to download\u3002<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8778\" title=\"get-738\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-738.jpg\" alt=\"get-738\" width=\"1080\" height=\"634\" \/><\/div>\n<p data-track=\"13\">Downloading.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8776\" title=\"get-736\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-736.jpg\" alt=\"get-736\" width=\"715\" height=\"450\" \/><\/div>\n<p data-track=\"15\">After the download is complete, double-click the installation file to start the installation.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8777\" title=\"get-737\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-737.jpg\" alt=\"get-737\" width=\"968\" height=\"302\" \/><\/div>\n<p data-track=\"17\">A very important step in the installation window is to ensure that the \"Add Python 3.x to PATH\" is checked. This adds Python to the system path and can run Python directly from any directory\u3002<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8779\" title=\"get-739\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-739.jpg\" alt=\"get-739\" width=\"984\" height=\"604\" \/><\/div>\n<p data-track=\"19\">Select Customize installation and check Add python.exe to PATH.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8780\" title=\"get-740\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-740.jpg\" alt=\"get-740\" width=\"1005\" height=\"618\" \/><\/div>\n<p data-track=\"21\">Click [Next].<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8781\" title=\"get-741\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-741.jpg\" alt=\"get-741\" width=\"1005\" height=\"618\" \/><\/div>\n<p data-track=\"23\">Enter the installation option configuration interface.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8782\" title=\"get-742\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-742.jpg\" alt=\"get-742\" width=\"1005\" height=\"618\" \/><\/div>\n<p data-track=\"25\">Other options can be configured by default, but you need to reselect the installation path that suits you.<\/p>\n<p data-track=\"26\">(PS: The C drive is usually the system drive, it is not recommended to install it in the C drive directory)<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8783\" title=\"get-743\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-743.jpg\" alt=\"get-743\" width=\"1005\" height=\"618\" \/><\/div>\n<p data-track=\"28\">After selecting the installation configuration option, click [Install] to install.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8784\" title=\"get-744\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-744.jpg\" alt=\"get-744\" width=\"1005\" height=\"618\" \/><\/div>\n<p data-track=\"30\">Installing.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8785\" title=\"get-745\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-745.jpg\" alt=\"get-745\" width=\"1005\" height=\"618\" \/><\/div>\n<p data-track=\"32\">After the installation is complete, click [Close].<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8786\" title=\"get-746\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-746.jpg\" alt=\"get-746\" width=\"1005\" height=\"618\" \/><\/div>\n<p class=\"pgc-h-arrow-right\" data-track=\"34\"><strong>Verify Installation<\/strong><\/p>\n<p data-track=\"35\">Enter the shortcut key [win] + [R] to open the run window.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8787\" title=\"get-747\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-747.jpg\" alt=\"get-747\" width=\"1292\" height=\"668\" \/><\/div>\n<p data-track=\"37\">Enter &quot;cmd&quot; and click OK.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8788\" title=\"get-748\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-748.jpg\" alt=\"get-748\" width=\"1292\" height=\"668\" \/><\/div>\n<p data-track=\"39\">enter the command hint window, enter the command: python \u2013version\u3002<\/p>\n<pre><code>python --version<\/code><\/pre>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8789\" title=\"get-749\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/04\/get-749.jpg\" alt=\"get-749\" width=\"820\" height=\"363\" \/><\/div>\n<p data-track=\"41\">You can see that the Python version just installed, Python 3.12.3, is displayed.<\/p>\n<p data-track=\"43\">So far, we have successfully completed the installation of Python 3.12.3.<\/p>\n<p class=\"pgc-h-arrow-right\" data-track=\"46\"><strong>Learning Summary<\/strong><\/p>\n<ul>\n<li data-track=\"47\"><strong>Download and install Python.<\/strong>Go to the Python official website and download the Python version that suits your operating system. During the installation process, remember to check &quot;Add Python.exe to PATH&quot; and try not to put the installation directory in the C drive (operating system drive).<\/li>\n<li data-track=\"48\"><strong>Verify after successful installation.<\/strong>whether the installation was successful, remember to enter a python-version check\u3002<\/li>\n<li data-track=\"49\"><strong>Kimi answers comments and feedback.<\/strong>Although not as detailed as Guotou&#039;s description, the steps and operation procedures are fine. If you still have questions, you can continue to ask Kimi.<\/li>\n<\/ul>\n<p data-track=\"52\">Now it&#039;s your turn to download and install Python and learn to make AI applications together.<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently, first Tiangong open-sourced a hundred billion big models, and then Meta Llama3 was also announced to be open-sourced. In addition to researching and using commercially available AI application tools, there is also consideration of writing an AI application tool based on the open source big model. Python is indispensable for development tools, so you have to install a Python first. I heard that Kimi is also a good helper for writing code, so I asked Kimi out of habit to see how the answer is. Tip: How to install Python on your computer (Windows users) Next, learn step by step how to install Python on your computer for Windows users. Download and install Python Open the official Python download page: https:\/\/www.python.org\/downl<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[2353,2352],"collection":[],"class_list":["post-8773","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-ai","tag-python"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/8773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=8773"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/8773\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=8773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=8773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=8773"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=8773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}