'''Error in py_initialize(config$python, config$libpython, config$pythonhome, :
/Users/abhiishekchugh/miniconda3/envs/r-reticulate/lib/libpython3.7m.dylib
- dlopen(/Users/abhiishekchugh/miniconda3/envs/r-reticulate/lib/libpython3.7m.dylib, 0x000A): tried: '/Users/abhiishekchugh/miniconda3/envs/r-reticulate/lib/libpython3.7m.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libpython3.7m.dylib' (no such file)'''
This is the error I get everytime I use keras on M1 Mac as Miniconda3 doesn't have arm support apparently... Is there any work around for this? I am using this in the latest R version 4.1.1 (2021-08-10) Please help me.