Closed PaulKGrimes closed 5 years ago
I think this is due to these packages being OS X builds. The environment.yml file should be made platform neutral if at all possible.
Hi @PaulKGrimes, this is a good point. I was previously using
conda env export > environment.yml
to create the virtual environment file, but according to the documentation
NOTE: These explicit spec files are not usually cross platform
I have now rewritten the file to only include the necessary packages. I have also stripped the version numbers and build codes, so it should now work on different operating systems. I haven't been able to test this yet on Windows. I hope to do this tomorrow.
Thanks @garrettj403
That seems to be OK. At some point it'd be worth checking what the lowest version is that's acceptable for key packages and putting >= dependency in (definitely on the Python version), but I don't think that's necessary right now.
This is resolved now, so closing this issue.
Actually, this now fails because the python version created can be too old, if the base anaconda uses Python 2. I suggest setting a minimum python version of 3.4 or 3.5
Reopening.
In the environment file, I had previously specified python=3.7.*
in order to use Python version 3.7. I have now changed this to python>=3.5
in order to use a minimum of Python version 3.5. Hopefully this addresses this issue.
When I try to create the conda environment using the environment.yml file, I get the follow error. This is on both my Windows desktop Anaconda install and my Windows laptop Anaconda install, both running conda 4.6.2.
The list is presented in a different order on each machine, and so might not be exactly the same.