Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda_installer: Include conda in environment #2616

Merged
merged 1 commit into from
Sep 25, 2017

Conversation

astaric
Copy link
Member

@astaric astaric commented Sep 24, 2017

Issue

Standalone Miniconda installer (offline) does not include conda "executable" and does not use the conda-forge channel.

To reproduce use current miniconda installer (on a clean windows installation) to install orange.
Navigate to %LOCALAPPDATA%/Orange/Scripts
conda.bat is not present

Description of changes

Create conda.bat and .condarc files manually

@codecov-io
Copy link

codecov-io commented Sep 24, 2017

Codecov Report

Merging #2616 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2616   +/-   ##
=======================================
  Coverage   74.99%   74.99%           
=======================================
  Files         331      331           
  Lines       58076    58076           
=======================================
  Hits        43555    43555           
  Misses      14521    14521

@astaric
Copy link
Member Author

astaric commented Sep 24, 2017

Another thing that is missing from the current installers is the addition of the conda-forge channel.
The easiest way to do this (without breaking any existing environments) is by creating a .condarc file in the root of the environment ("C:\Users\x\AppData\Local\Orange") with the following content:

channels: 
  - defaults
  - conda-forge

@astaric astaric force-pushed the install-conda-on-windows branch 3 times, most recently from 00639b6 to 6c433cb Compare September 25, 2017 08:41
@astaric astaric changed the title standalone installer: Include conda executable conda_installer: Include conda in environment Sep 25, 2017
@astaric
Copy link
Member Author

astaric commented Sep 25, 2017

@ales-erjavec I think I'm done. Can you take a look?

@ales-erjavec
Copy link
Contributor

Seems to work OK with conda 4.1, 4.2 and 4.3.

@astaric astaric merged commit abe0866 into biolab:master Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants