AI beginner basic tutorial, teach you how to download and install Rust step by step

AI beginner basic tutorial, teach you how to download and install Rust step by step

Recently, an error occurred when installing the dependency package of stable-diffusion-webui, as shown in the following figure:

AI beginner basic tutorial, teach you how to download and install Rust step by step

After sending the error message to AI, I got the reply that I need to download and installRustCompiler, add Rust to your environment variables.

AI beginner basic tutorial, teach you how to download and install Rust step by step

Next, learn with GuotouHow to download and install RustBar.

How to download and install Rust?

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.

AI beginner basic tutorial, teach you how to download and install Rust step by step
AI beginner basic tutorial, teach you how to download and install Rust step by step

After getting the answer, let’s learn how to download and install Rust step by step.

Enter rustup.rs in the browser address bar to enter the Rust official website and click [rustup-init.exe].

AI beginner basic tutorial, teach you how to download and install Rust step by step

After the download is complete, double-click to run.

AI beginner basic tutorial, teach you how to download and install Rust step by step

Click【More information】

AI beginner basic tutorial, teach you how to download and install Rust step by step

Click Run Anyway.

AI beginner basic tutorial, teach you how to download and install Rust step by step

A command line window pops up, indicating that the installation cannot be performed.

AI beginner basic tutorial, teach you how to download and install Rust step by step

I sent the question to AI and found that I was prompted to install Visual Studio Community to install Windows components.

AI beginner basic tutorial, teach you how to download and install Rust step by step

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].

AI beginner basic tutorial, teach you how to download and install Rust step by step

Downloading.

AI beginner basic tutorial, teach you how to download and install Rust step by step

After the download is complete, click Run.

AI beginner basic tutorial, teach you how to download and install Rust step by step

Click [Continue].

AI beginner basic tutorial, teach you how to download and install Rust step by step

Downloading.

AI beginner basic tutorial, teach you how to download and install Rust step by step

Enter the installation interface, select [Desktop development using C++], the default selection on the right can be left unchanged, click [Install].

AI beginner basic tutorial, teach you how to download and install Rust step by step

After the installation is complete, click [OK].

AI beginner basic tutorial, teach you how to download and install Rust step by step

After installing Visual Studio, let's run rustup.exe.

AI beginner basic tutorial, teach you how to download and install Rust step by step

We select 1-Standard Installation and press Enter to start the installation.

AI beginner basic tutorial, teach you how to download and install Rust step by step

As shown in the picture above, the installation is complete.

We open the command line window and enter rustc --version. We can see that the rust version can be displayed normally, which means that the installation has been completed correctly.

AI beginner basic tutorial, teach you how to download and install Rust step by step

At this point, we have completed the download and installation of Rust.

 

statement:The content is collected from various media platforms such as public websites. If the included content infringes on your rights, please contact us by email and we will deal with it as soon as possible.
Encyclopedia

Complete and detailed stable diffusion webUI local deployment, AI painting to create pictures with your own copyright

2024-5-30 9:21:36

Encyclopedia

How to use GPT-4 for free? Use Coze to customize your own GPT assistant

2024-5-30 9:53:16

Search