Does not start on M1 Macbook
See original GitHub issueI installed successfully via
pip3 install -U radian
Starting from the console throws this error:
Traceback (most recent call last):
File "/opt/homebrew/bin/radian", line 8, in <module>
sys.exit(main())
File "/opt/homebrew/lib/python3.9/site-packages/radian/__init__.py", line 101, in main
RadianApplication(r_home, ver=__version__).run(options)
File "/opt/homebrew/lib/python3.9/site-packages/radian/radianapp.py", line 94, in run
rchitect.init(args=args, register_signal_handlers=True)
File "/opt/homebrew/lib/python3.9/site-packages/rchitect/setup.py", line 46, in init
raise Exception(load_lib_error())
Exception: Cannot load shared library: dlopen(/Library/Frameworks/R.framework/Resources/lib/libR.dylib, 10): no suitable image found. Did find:
/Library/Frameworks/R.framework/Resources/lib/libR.dylib: mach-o, but wrong architecture
/Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib: mach-o, but wrong architecture
Same with development version.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
If your Mac doesn't turn on - Apple Support
If your Mac doesn't turn on · Check power connections · Press and hold the power button · Unplug accessories · If you...
Read more >M1 Mac Won't Turn on, How to Fix without Data Loss?
Press the Power button and hold it down for ten seconds. Next, unplug the power cable for 10 seconds and replug it. Finally,...
Read more >How to Fix MacBook Air M1 Not Turning On Issue - iKream
Press and hold the power button for about 10 seconds. · You should see the startup options window, which includes a gear icon...
Read more >MacBook won't turn on? Here's how to fix it - Macworld
On an M1 Mac press and hold the Power button until the Mac starts up and eventually shows the start up options. Select...
Read more >How to Fix Mac Won't Boot into Recovery Mode?
If your imac won't boot into recovery mode a possible solution would be to create a bootable installer and restore mac. Before starting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi all, the following step solved the issue: Adding
export R_HOME=/Library/Frameworks/R.framework/Resources
to.zshrc
which allows radian to find the version of R that is used by Rstudio. Hope this helps others who may have a similar problem. Thanks.Great that you solved it. That path is for the standard CRAN R, used by RStudio. Both are x86 atm, so now R matches your anaconda environment architecture-wise. You should be able to use pandoc, etc. all fine too as long as it’s x86 (no arm version yet, as I mentioned above). Basically, if everything is Rosetta emulated everything works. If everything is arm, it also works. (e.g. in my case: native VSCode, native R, native radian). Mixing though typically doesn’t work.