Skip to content

Instantly share code, notes, and snippets.

@scw
Created May 11, 2018 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scw/ee99d79104265d7b331064ba8251b302 to your computer and use it in GitHub Desktop.
Save scw/ee99d79104265d7b331064ba8251b302 to your computer and use it in GitHub Desktop.
--- 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']
@Dan-Patterson
Copy link

Yes!!! so far so good. push this patch and make educators happy around the world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment