Extensions
Please refer to Useful Visual Studio Code Extensions .
Set Python Environment for Visual Studio Code Server
-
File -> Preference -> Settings
-
Click on Workspace.
-
Search for
Python Path. -
Change Python Path to the one you want to use.

Please refer to Useful Visual Studio Code Extensions .
File -> Preference -> Settings
Click on Workspace.
Search for Python Path.
Change Python Path to the one you want to use.

It is recommended that you use pip to install Python packages.
If you don't already know the proxy in use (in your company), read the post Find out Proxy in Use to figure it out.
Set proxy environment variables.
set http_proxy=http://user:password@proxy_ip:port
set https_proxy=https://user …The method subprocess.run is preferred over older high-level APIs
(subprocess.call, subprocess.check_call and subprocess.check_output).
The method subprocess.Popen (which powers the high-level APIs) can be used if you need advanced controls.
When running a shell command using subprocess.run,
Avoid using system shell (i.e., avoid using shell=True) for 2 reasons.
First, avoid shell injection attack.
Second, there is no need for you to manually escape special characters in the command.