-
Notifications
You must be signed in to change notification settings - Fork 47
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
Specify environment managed using conda #15
Conversation
I began with the environment used by https://github.com/cognoma/cancer-data/blob/02a306aae0018623e495ed043ae47f5fccf3c370/environment.yml which uses recent versions of all explicit dependencies, such as Python 3.5.2 and pandas 0.18.1. Then, I added explicit dependencies imported by `1.TCGA-MLexample.ipynb`.
@cgreene @gwaygenomics -- Y/N? |
Confirming that the environment installs and activates properly on OS X. |
|
||
This repository uses [conda](http://conda.pydata.org/docs/ "Conda package management system and environment management system documentation") to manage its environment and install packages. If you don't have conda installed on your system, you can [download it here](http://conda.pydata.org/miniconda.html "Miniconda Homepage"). You can install the Python 2 or 3 version of Miniconda (or Anaconda), which determines the Python version of your root environment. Since we create a dedicated environment for this project, named `cognoma-machine-learning` whose explicit dependencies are specified in [`environment.yml`](environment.yml), the version of your root environment will not be relevant. | ||
|
||
With conda, you can create the `cognoma-machine-learning` environment using: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add note here about forking/cloning repository before creating the environment - at least something mentioning the specific environment.yml
must be in directory
I am trying to install the environment in cygwin on windows 10. I got this error:
|
Okay I think we can drop scipy to 0.17.1. This is sad becasue 0.18.0 did bring lot's of changes. Eventually, we can return to 0.18.0 once Anaconda creates a Windows build. See ContinuumIO/anaconda-issues#925 for more information on the missing package issue. Will try out the downgrade. |
Confirming that the updated @gwaygenomics, can you test out Windows again? I used:
to remove the existing |
$ conda env create --quiet --force --file environment.yml
Fetching package metadata .........
Solving package specifications: ..........
1 file(s) copied.
No psutil available.
To proceed, please conda install psutil#
# To activate this environment, use:
# $ source activate cognoma-machine-learning
#
# To deactivate this environment, use:
# $ source deactivate which seems to have been an issue in the past. I was able to activate the environment with |
I'm starting to wonder if it makes sense just to specify an entire anaconda release, e.g. What happens if you run I think we'll probably be fine without |
it installs without error! But for some reason I still get the |
ok, @dhimmel and I just discussed this issue - since the |
I began with the environment used by cancer-data, which uses recent versions of all explicit dependencies, such as Python 3.5.2 and pandas 0.18.1. Then, I added explicit dependencies imported by
1.TCGA-MLexample.ipynb
.For testing, it would be great if at least one OS X and one Windows reviewer can successfully install. I created the environment on a Linux platform.