Closed gchhablani closed 3 years ago
Thanks for mentioning that @gchhablani, do you want to take this up ?
@someshsingh22 Sure, how do you want to resolve this?
Using a separate file for each environment will be cumbersome, wdyt?
@gchhablani The error I am receiving is mentioned here so I think its not a good ide to use .yml lets rather stick to requirements.txt https://stackoverflow.com/questions/48439159/failed-to-create-anaconda-environment-resolvepackagenotfound
Removing environment.yml
Problem
An error occurs when I attempt to create conda environment in Linux (Ubuntu 20.04). This is a known issue.
The reason this happens is because @blackrosedragon2 created the environment on his Windows machine and some packages may not be available for other platforms.
Here is the yaml I get when I export the environment after installing with
requirements.txt
:Just to compare, here is the current
environment.yml
:Possible Resolution
Most common resolution is to remove extra packages, and remove versions from those which are not hard requirements. This will be need someone to do it manually.
Another option is to create separate, platform-dependent environment files.