Closed william-silversmith closed 2 years ago
anaconda-project is a command-line tool for capturing reproducible projects, based on conda but distinct from it. Here it doesn't look like you are using anaconda-project, so it seems like a potential issue with conda to report at https://github.com/conda/conda/issues instead.
Thanks sorry, I wasn't sure what the distinctions were. I should have done more research. Thanks for the link!
ALL software version info
(conda 4.9.2, cpython 3.8.12, MacOS 12.2)
Description of expected behavior and the observed behavior
On an Apple Silicon M1 laptop with miniconda installed, the platform is detected as arm64 when in virtualenv it is detected as x86_64. This causes python wheels to be built as arm64 and fail.
See https://gitlab.com/jfolz/simplejpeg/-/issues/14 for more details.
Complete, minimal, self-contained example code that reproduces the issue
Open a terminal window with Rosetta2 enabled.
However this sequence fixes the issue:
Anaconda:
Virtualenv: