{"id":11732,"date":"2024-05-30T09:35:02","date_gmt":"2024-05-30T01:35:02","guid":{"rendered":"https:\/\/www.1ai.net\/?p=11732"},"modified":"2024-05-30T09:35:02","modified_gmt":"2024-05-30T01:35:02","slug":"ai%e5%88%9d%e5%ad%a6%e8%80%85%e5%9f%ba%e7%a1%80%e6%95%99%e7%a8%8b%ef%bc%8c%e6%89%8b%e6%8a%8a%e6%89%8b%e6%95%99%e4%bd%a0%e5%a6%82%e4%bd%95%e4%b8%8b%e8%bd%bd%e5%ae%89%e8%a3%85rust","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/11732.html","title":{"rendered":"AI beginner basic tutorial, teach you how to download and install Rust step by step"},"content":{"rendered":"<div class=\"pgc-img\" data-pm-slice=\"0 0 []\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11733\" title=\"get-743\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-743.jpg\" alt=\"get-743\" width=\"1080\" height=\"594\" \/><\/div>\n<p data-track=\"172\">Recently, an error occurred when installing the dependency package of stable-diffusion-webui, as shown in the following figure:<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11734\" title=\"get-744\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-744.jpg\" alt=\"get-744\" width=\"1080\" height=\"577\" \/><\/div>\n<p data-track=\"174\">After sending the error message to AI, I got the reply that I need to download and install<a href=\"https:\/\/www.1ai.net\/en\/tag\/rust\" title=\"_Other Organiser\" target=\"_blank\" >Rust<\/a>Compiler, add Rust to your environment variables.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11735\" title=\"get-745\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-745.jpg\" alt=\"get-745\" width=\"1080\" height=\"511\" \/><\/div>\n<p data-track=\"176\">Next, learn with Guotou<strong>How to download and install Rust<\/strong>Bar.<\/p>\n<h1 class=\"pgc-h-arrow-right\" spellcheck=\"false\" data-track=\"179\">How to download and install Rust?<\/h1>\n<p data-track=\"180\">Next, continue to ask the AI how to download and install the Rust compiler and add Rust to the environment variables, requiring specific operation steps.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11736\" title=\"get-746\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-746.jpg\" alt=\"get-746\" width=\"877\" height=\"754\" \/><\/div>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11737\" title=\"get-747\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-747.jpg\" alt=\"get-747\" width=\"870\" height=\"1198\" \/><\/div>\n<p data-track=\"182\">After getting the answer, let\u2019s learn how to download and install Rust step by step.<\/p>\n<p data-track=\"183\">Enter rustup.rs in the browser address bar to enter the Rust official website and click [rustup-init.exe].<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11739\" title=\"get-749\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-749.jpg\" alt=\"get-749\" width=\"1080\" height=\"634\" \/><\/div>\n<p data-track=\"185\">After the download is complete, double-click to run.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11738\" title=\"get-748\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-748.jpg\" alt=\"get-748\" width=\"1322\" height=\"456\" \/><\/div>\n<p data-track=\"187\">Click\u3010More information\u3011<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11740\" title=\"get-750\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-750.jpg\" alt=\"get-750\" width=\"798\" height=\"747\" \/><\/div>\n<p data-track=\"189\">Click Run Anyway.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11741\" title=\"get-751\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-751.jpg\" alt=\"get-751\" width=\"798\" height=\"747\" \/><\/div>\n<p data-track=\"191\">A command line window pops up, indicating that the installation cannot be performed.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11742\" title=\"get-752\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-752.jpg\" alt=\"get-752\" width=\"1080\" height=\"577\" \/><\/div>\n<p data-track=\"193\">I sent the question to AI and found that I was prompted to install Visual Studio Community to install Windows components.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11743\" title=\"get-753\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-753.jpg\" alt=\"get-753\" width=\"915\" height=\"1117\" \/><\/div>\n<p data-track=\"195\">Click the Visual Studio download page link: https:\/\/visualstudio.microsoft.com\/zh-hans\/downloads\/, enter the page, select the community version, and click [Free Download].<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11744\" title=\"get-754\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-754.jpg\" alt=\"get-754\" width=\"1080\" height=\"634\" \/><\/div>\n<p data-track=\"197\">Downloading.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11745\" title=\"get-755\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-755.jpg\" alt=\"get-755\" width=\"1250\" height=\"588\" \/><\/div>\n<p data-track=\"199\">After the download is complete, click Run.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11747\" title=\"get-757\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-757.jpg\" alt=\"get-757\" width=\"1178\" height=\"468\" \/><\/div>\n<p data-track=\"201\">Click [Continue].<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11746\" title=\"get-756\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-756.jpg\" alt=\"get-756\" width=\"720\" height=\"424\" \/><\/div>\n<p data-track=\"203\">Downloading.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11748\" title=\"get-758\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-758.jpg\" alt=\"get-758\" width=\"720\" height=\"424\" \/><\/div>\n<p data-track=\"205\">Enter the installation interface, select [Desktop development using C++], the default selection on the right can be left unchanged, click [Install].<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11749\" title=\"get-759\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-759.jpg\" alt=\"get-759\" width=\"1080\" height=\"719\" \/><\/div>\n<p data-track=\"207\">After the installation is complete, click [OK].<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11750\" title=\"get-760\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-760.jpg\" alt=\"get-760\" width=\"798\" height=\"238\" \/><\/div>\n<p data-track=\"208\">\n<p data-track=\"209\">After installing Visual Studio, let&#039;s run rustup.exe.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11751\" title=\"get-761\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-761.jpg\" alt=\"get-761\" width=\"1080\" height=\"577\" \/><\/div>\n<p data-track=\"211\">We select 1-Standard Installation and press Enter to start the installation.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11752\" title=\"get-762\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-762.jpg\" alt=\"get-762\" width=\"1080\" height=\"1217\" \/><\/div>\n<p data-track=\"213\">As shown in the picture above, the installation is complete.<\/p>\n<p data-track=\"214\">let's open the command line window and enter a rustc-version, see if the rust version can be displayed properly, indicating that the installation has been correctly completed\u3002<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11753\" title=\"get-763\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-763.jpg\" alt=\"get-763\" width=\"796\" height=\"372\" \/><\/div>\n<p data-track=\"216\">At this point, we have completed the download and installation of Rust.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently, an error was reported when installing the dependency package of stable-diffusion-webui, as shown below: After sending the error message to AI, I got a reply that I need to download and install the Rust compiler, and add Rust to the environment variable. Here's how to download and install Rust with Pothead. How to download and install Rust? Next, continue to ask AI how to download and install the Rust compiler and add Rust to the environment variable, asking for specifics to each step of the operation process. After getting the answer, come along and learn step by step how to download and install Rust. Enter rustup.rs in the browser address bar to enter the Rust official website, click [rustup-init.exe]. When the download is complete, double-click the mouse<\/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":[2356,2853,2355],"collection":[],"class_list":["post-11732","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-ai","tag-rust","tag-2355"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11732","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=11732"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11732\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=11732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=11732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=11732"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=11732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}