Commit b5dd3484 authored by Ekaterina Tuzova's avatar Ekaterina Tuzova
Browse files

look for system conda executable in AppData\Local\Continuum on windows

parent 14be8bf3
Showing with 3 additions and 0 deletions
+3 -0
......@@ -137,6 +137,9 @@ public class PyCondaPackageService implements PersistentStateComponent<PyCondaPa
String executableFile = findExecutable(condaName, condaFolder);
if (executableFile != null) return executableFile;
if (SystemInfo.isWindows) {
final VirtualFile appData = userHome.findFileByRelativePath("AppData\\Local\\Continuum\\" + root);
executableFile = findExecutable(condaName, appData);
if (executableFile != null) return executableFile;
condaFolder = LocalFileSystem.getInstance().findFileByPath("C:\\" + root);
executableFile = findExecutable(condaName, condaFolder);
if (executableFile != null) return executableFile;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment