Home > other > Vscode suddenly unable to change the python environment inside
Vscode suddenly unable to change the python environment inside
Time:10-02
Originally in the lower left corner to choose environment there can switch at any time before, but suddenly switch to any environment useless, cause I had a normal reference the environment package complains ModuleFoundError
Then I print sys. Path, pycharm and CMD are normal, print it out is the currently selected python environment, but is in vscode, even choose a different environment, the path of the print is the same, but also is not the path I chose, this is how to return a responsibility? What a lot of search on the net all say choose environment, but I clearly have been selected for the environment.
CodePudding user response:
Can have a try will be replaced for powershell CMD vscode, seems a powershell compatibility problems, switch environment will fail,