The most simple Vscode configuration Anaconda environment in the whole network (100% success)

foreword

        Disclaimer: All the content of this article is carried out on the premise of having: a configured Anaconda , Python and Vscode environment (roughly described in the link and figure below).

(1)Python and Anaconda

The most simple Anaconda+Python3.7 installation tutorial on the whole network Win10 (100% success ) 124993976?spm=1001.2014.3001.5502  (2) Vscode and Anaconda


 The most simple Vscode configuration Anaconda environment in the whole network (100% success)

vscode configure anaconda environment steps

Step 1: Install the Python software

Step 2: Open the project file

The third step, select the environment in anconda


vscode configure anaconda environment steps

Step 1: Install the Python plugin

        Be sure to install the Python plugin in Vscode. (Tutorial is below)

Step 2: Open the project file

        Opens the page for selecting a folder.

        Select a folder as the project file. 

 The third step, select the environment in anconda

Use the CTRL+P button         in Vscode to open the search, then type: > select interpreter.

> select interpreter

        After the following page pops up, click Python: Select Interpreter. 

             After the following page pops up, please select the anaconda environment you want and double-click F5 to run.

for other

       Operation: Successful operation! ( The red error is reported because Anaconda3 is not put into the system environment variable, but it can still run )

         (Hint: For: " Unable to connect because the target computer actively refused." error, I got the error and ran it again and it miraculously worked.) 

        Import package situation: all packages are also imported successfully, 

        A habit: Because I am used to the ubuntu system before, I am used to using the anaconda terminal to directly input commands to run instead of running in VsCode. (Workspace interface is as follows)

 You're done, isn't it super easy?

If you find this article helpful, please like + favorite !

Guess you like

Origin blog.csdn.net/qq_51831335/article/details/126757014