Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
b5dd3484
Commit
b5dd3484
authored
7 years ago
by
Ekaterina Tuzova
Browse files
Options
Download
Email Patches
Plain Diff
look for system conda executable in AppData\Local\Continuum on windows
parent
14be8bf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/src/com/jetbrains/python/packaging/PyCondaPackageService.java
+3
-0
...com/jetbrains/python/packaging/PyCondaPackageService.java
with
3 additions
and
0 deletions
+3
-0
python/src/com/jetbrains/python/packaging/PyCondaPackageService.java
+
3
-
0
View file @
b5dd3484
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment