gcsl icon indicating copy to clipboard operation
gcsl copied to clipboard

conda env create -f environment/environment.yml command not working

Open anthonycaterini opened this issue 4 years ago • 1 comments

As the title says, this command will not produce a working environment. Several packages will not be found by conda.

We can move those packages below the pip line in the environment.yml file (as suggested here), but then we run into many version conflicts.

I have been able to get this somewhat working by removing all version numbers (except python=3.5), commenting out everything below the pip line (without this there was another error), and installing the remaining packages individually through pip. Is it possible to have a working environment.yml file added so that others don't have to do this?

anthonycaterini avatar Sep 17 '20 19:09 anthonycaterini

Thanks for bringing this issue up.

It looks like the Anaconda repository just no longer contains some of these packages like python 3.5.2. The environment.yml did work at some point (it was used to generate the Docker image), so I'm tempted to say that it's just an issue of Anaconda not "stocking" these packages anymore. I'm not an expert with conda, but if it's possible that if you could point to an "older" version of the Anaconda repository that does contain these packages, then things would install fine.

I'll close this issue when I've uploaded a cleaned environment.yml file.

dibyaghosh avatar Sep 17 '20 20:09 dibyaghosh