I recently bought a MacBook Air with M1. After installing tensorflow following the instructions here everything works fine within a virtual environment I set up. However if I just run jupyter notebook from the terminal I get the following error message:
ImportError: dlopen(/Users/bernardino/.local/lib/python3.8/site-packages/zmq/libzmq.cpython-38-darwin.so, 0x000A): tried: '/Users/bernardino/.local/lib/python3.8/site-packages/zmq/libzmq.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libzmq.cpython-38-darwin.so' (no such file), '/usr/lib/libzmq.cpython-38-darwin.so' (no such file)
Google didn't help. Can anyone help out?
Thanks.