# Can\`t run rfbrowser init on MacOs M1

**URL:** <https://forum.robotframework.org/t/can-t-run-rfbrowser-init-on-macos-m1/3570>\
**Category:** Browser\
**Created:** [6 April 2022 15:52 UTC](https://forum.robotframework.org/t/can-t-run-rfbrowser-init-on-macos-m1/3570 "2022-04-06T15:52:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cccarv](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/cccarv/32/1423_2.png) [@cccarv](https://forum.robotframework.org/u/cccarv)\
**Post date:** [6 April 2022 15:52 UTC](https://forum.robotframework.org/t/can-t-run-rfbrowser-init-on-macos-m1/3570/1 "2022-04-06T15:52:38Z")

</div>

Trying to install the Browser Library on a MacOs M1 but when i try to run `rfbrowser init` i get the following error:

```
    Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/rfbrowser", line 5, in <module>
    from Browser.entry import run
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Browser/ __init__.py", line 16, in <module>
    from .browser import Browser
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Browser/browser.py", line 39, in <module>
    from .keywords import (
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Browser/keywords/ __init__.py", line 19, in <module>
    from .getters import Getters
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Browser/keywords/getters.py", line 19, in <module>
    import grpc # type: ignore
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/grpc/ __init__.py", line 22, in <module>
    from grpc import _compression
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/grpc/_compression.py", line 15, in <module>
    from grpc._cython import cygrpc
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))

```

What i need to do to be able to use Browser Library on a MacOs M1 laptop ?

---

<div class="post-metadata">

**Author:** ![JoostW](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/joostw/32/3778_2.png) [@JoostW](https://forum.robotframework.org/u/JoostW)\
**Post date:** [7 April 2022 10:39 UTC](https://forum.robotframework.org/t/can-t-run-rfbrowser-init-on-macos-m1/3570/2 "2022-04-07T10:39:39Z")

</div>

Hi,

I don’t own MACos myself, but do you have  
but do you have also nodo, js installed ([Download | Node.js](https://nodejs.org/en/download/))?

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [7 April 2022 11:22 UTC](https://forum.robotframework.org/t/can-t-run-rfbrowser-init-on-macos-m1/3570/3 "2022-04-07T11:22:19Z")

</div>

I did a quick search for `cygrpc.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))` and then `cygrpc.cpython is an incompatible architecture have 'x86_64', need 'arm64e'` which I pulled out of the last line of your error.

It looks like you may have run into this issue [[Python][macOS] 3.10 wheel is mislabeled as universial2 · Issue #28387 · grpc/grpc · GitHub](https://github.com/grpc/grpc/issues/28387)

I’m guessing you have Python 3.10.x ? That issue is still open so it doesn’t look like there is a fix yet ☹

Dave.

---

<div class="post-metadata">

**Author:** ![cccarv](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/cccarv/32/1423_2.png) [@cccarv](https://forum.robotframework.org/u/cccarv)\
**Post date:** [7 April 2022 12:42 UTC](https://forum.robotframework.org/t/can-t-run-rfbrowser-init-on-macos-m1/3570/4 "2022-04-07T12:42:21Z")

</div>

Yes i have

---

<div class="post-metadata">

**Author:** ![cccarv](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/cccarv/32/1423_2.png) [@cccarv](https://forum.robotframework.org/u/cccarv)\
**Post date:** [7 April 2022 12:43 UTC](https://forum.robotframework.org/t/can-t-run-rfbrowser-init-on-macos-m1/3570/5 "2022-04-07T12:43:27Z")

</div>

Thanks Dave! It’s exactly this… I`ve downgraded python to 3.9 and now everything works fine.

---

<div class="post-metadata">

**Author:** ![gdragoa](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/gdragoa/32/1936_2.png) [@gdragoa](https://forum.robotframework.org/u/gdragoa)\
**Post date:** [12 October 2022 05:22 UTC](https://forum.robotframework.org/t/can-t-run-rfbrowser-init-on-macos-m1/3570/6 "2022-10-12T05:22:09Z")

</div>

I installed version 1.43 of grpcio and version 13.0.0 of playwright and it worked
