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 cannot build an environment .yml file that was created by conda #10183
Comments
The environment file specifies packages down to their build string. Packages with the same build string will almost never be available on a different platform, in fact the same packages may not be needed or even available on all platforms. For example |
I was able to fix this problem by adding the --no-default-packages and manually deleting the lines in my environment.yml file related to libcxx. I found this solution in a forum where many people were having the same issue. |
I am not sure why this is an open issue see issue conda/conda#6220. To my understanding we shouldn't export environments that are expected to be cross platform without the flag --no-builds. can any one verify if this issue should be closed? |
We like it when users close their own issues. I think it's safe to close this one, though. Thanks for highlighting it @TarekAlabrasTalend. |
On my Mac (OSX High Sierra), I am using anaconda 4.5.11
I am trying to pass my conda environment to a linux machine.
So, while in my environment I use the command
conda env export > environment.yml
to create an environment.yml file, which I then commit to my git repository.
On the linux machine:
I am also using anaconda 4.5.11
once I clone my repo, I want to build my environment, so I run
conda env create -f environment.yml
and it fails. Error output:
Why does this fail? I don't know if I've ever been able to successfully transfer an environment in this way, and being able to do this is purportedly one of the benefits of using something like anaconda in the first place.
The text was updated successfully, but these errors were encountered: