Created
May 11, 2018 16:20
-
-
Save scw/ee99d79104265d7b331064ba8251b302 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- conda_api.py.orig 2018-05-11 12:10:17.419642200 -0400 | |
+++ conda_api.py 2018-05-11 12:14:31.058928700 -0400 | |
@@ -406,12 +406,12 @@ | |
""" | |
if abspath: | |
if sys.platform == 'win32': | |
- python = join(self.ROOT_PREFIX, 'python.exe') | |
- conda = join(self.ROOT_PREFIX, 'Scripts', 'conda-script.py') | |
+ python = join(self.CONDA_PREFIX, 'python.exe') | |
+ conda = join(self.ROOT_PREFIX, 'Scripts', 'conda.exe') | |
else: | |
python = join(self.ROOT_PREFIX, 'bin/python') | |
conda = join(self.ROOT_PREFIX, 'bin/conda') | |
- cmd_list = [python, conda] | |
+ cmd_list = [conda] | |
else: | |
# Just use whatever conda is on the path | |
cmd_list = ['conda'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes!!! so far so good. push this patch and make educators happy around the world