I suspect this is because you are trying to create a local environment directly on your mac. I believe py.yml is specifying specific linux package version (the docker file will run a virtual linux system on your computer).
I haven’t tried it myself, but you might try and remove the “=py38h950e882_0” bits from the py.yml file and see if it helps.
You are right, it seems to be the reason why.
I tried your technique and it almost worked. I still had an issue with Tensorflow 2.3 so I tried to change it to a lower version but still had conflicts… so I ended up creating my own virtual environment for now. Thank you for your help!
Same problem here on my mac. No way to successfully build the environment using the yml (even using the pip notation, it gives conflict errors) so I had to manually create the env (omitting the libs I don’t use)
Thanks @chrka, this is a good approach. The reason we leave those version specifications is for reproducibility within the container, though it’s possible that is overkill.
In general, the supported local environment is using Docker but we understand for convenience reasons it may be easier to just create a local Python environment.