Tensorflow Library Not Working on M1 Chip Laptop

Hi,

I have a jupyter notebook whose kernel dies when trying to execute the line:

import tensorflow_data_validation as tfdv

I have the following packages installed in my conda environment. Does anyone know how to fix this? I've tried may of the workarounds found on the internet (e.g. installing Miniforge x86 then importing, adding an 'import os .....' to my report code) and they have not worked. :(

Package             Version


absl-py             1.1.0 ansiwrap            0.8.4 apache-beam           2.33.0 appdirs             1.4.4 appnope             0.1.2 argon2-cffi           20.1.0 astor              0.8.1 astunparse           1.6.3 async-generator         1.10 attrs              20.3.0 avro-python3          1.9.2.1 backcall            0.2.0 black              20.8b1 bleach             3.2.1 cachetools           4.2.0 certifi             2020.12.5 cffi              1.14.4 chardet             3.0.4 charset-normalizer       2.1.0 click              7.1.2 cloudpickle           2.1.0 coverage            5.5 crcmod             1.7 decorator            4.4.2 defusedxml           0.6.0 df2gspread           1.0.4 dill              0.3.1.1 docopt             0.6.2 dpcpp-cpp-rt          2022.1.0 entrypoints           0.3 Faker              8.10.0 fastavro            1.2.1 fasteners            0.15 flatbuffers           1.12 future             0.18.2 gast              0.3.3 google-api-core         1.27.0 google-api-python-client    1.12.11 google-apitools         0.5.31 google-auth           1.24.0 google-auth-httplib2      0.0.4 google-auth-oauthlib      0.4.2 google-cloud-bigquery      1.26.1 google-cloud-bigquery-storage  1.1.0 google-cloud-bigtable      1.6.1 google-cloud-build       2.0.0 google-cloud-core        1.4.4 google-cloud-datastore     1.15.3 google-cloud-dlp        1.0.0 google-cloud-language      1.3.0 google-cloud-pubsub       1.7.0 google-cloud-pubsublite     1.4.2 google-cloud-recommendations-ai 0.1.0 google-cloud-spanner      1.19.1 google-cloud-videointelligence 1.16.1 google-cloud-vision       1.0.0 google-crc32c          1.0.0 google-pasta          0.2.0 google-resumable-media     1.1.0 googleapis-common-protos    1.52.0 grpc-google-iam-v1       0.12.3 grpcio             1.35.0 grpcio-gcp           0.2.2 grpcio-status          1.47.0 gspread             3.6.0 h5py              2.10.0 hdfs              2.5.8 httplib2            0.17.4 idna              2.10 importlib-metadata       2.0.0 iniconfig            1.1.1 intel-cmplr-lic-rt       2022.1.0 intel-openmp          2022.1.0 ipykernel            5.3.4 ipython             7.19.0 ipython-genutils        0.2.0 ipywidgets           7.5.1 jedi              0.17.2 Jinja2             2.11.2 joblib             0.14.1 jsonschema           3.2.0 jupyter             1.0.0 jupyter-client         6.1.7 jupyter-console         6.2.0 jupyter-core          4.7.0 jupyterlab-pygments       0.1.2 keras              2.9.0 Keras-Applications       1.0.8 Keras-Preprocessing       1.1.2 libclang            14.0.1 libcst             0.3.15 Markdown            3.3.3 MarkupSafe           1.1.1 mistune             0.8.4 mkl               2022.1.0 mkl-fft             1.3.1 mock              2.0.0 mockito             1.2.2 monotonic            1.5 mypy-extensions         0.4.3 nbclient            0.5.1 nbconvert            6.0.7 nbformat            5.0.8 nest-asyncio          1.4.3 notebook            6.1.4 numpy              1.23.1 oauth2client          4.1.3 oauthlib            3.1.0 opt-einsum           3.1.0 orjson             3.7.7 overrides            6.1.0 packaging            20.7 pandas             1.1.3 pandas-gbq           0.14.1 pandasql            0.7.3 pandocfilters          1.4.3 papermill            2.2.2 parso              0.7.0 pathspec            0.8.1 pbr               5.5.1 pexpect             4.8.0 pickle-mixin          1.0.2 pickleshare           0.7.5 pip               20.3.1 pluggy             0.13.1 prometheus-client        0.9.0 prompt-toolkit         3.0.8 proto-plus           1.13.0 protobuf            3.13.0 ptyprocess           0.6.0 py               1.11.0 pyarrow             0.17.1 pyasn1             0.4.8 pyasn1-modules         0.2.8 pycparser            2.20 pydata-google-auth       1.1.0 pydot              1.4.1 Pygments            2.7.3 pymongo             3.11.2 pyparsing            2.4.7 pyrsistent           0.17.3 pytest             6.2.4 python-dateutil         2.8.1 pytz              2020.4 PyYAML             5.3.1 pyzmq              20.0.0 qtconsole            4.7.7 QtPy              1.9.0 regex              2020.11.13 requests            2.25.0 requests-oauthlib        1.3.0 rsa               4.6 scipy              1.5.2 Send2Trash           1.5.0 setuptools           51.0.0 six               1.15.0 SQLAlchemy           1.3.20 stringcase           1.2.0 tbb               2021.6.0 tenacity            6.2.0 tensorboard           2.9.1 tensorboard-data-server     0.6.1 tensorboard-plugin-wit     1.7.0 tensorflow           2.3.1 tensorflow-data-validation   0.25.0 tensorflow-estimator      2.9.0 tensorflow-io-gcs-filesystem  0.26.0 tensorflow-macos        2.9.2 tensorflow-metadata       0.25.0 tensorflow-metal        0.5.0 tensorflow-serving-api     2.3.0 tensorflow-transform      0.25.0 termcolor            1.1.0 terminado            0.9.1 testpath            0.4.4 text-unidecode         1.3 textwrap3            0.9.2 tfx-bsl             0.25.0 toml              0.10.2 tornado             6.1 tqdm              4.54.1 traitlets            5.0.5 typed-ast            1.4.1 typing-extensions        3.7.4.3 typing-inspect         0.6.0 typing-utils          0.1.0 uritemplate           3.0.1 urllib3             1.26.2 wcwidth             0.2.5 webencodings          0.5.1 Werkzeug            1.0.1 wheel              0.36.1 widgetsnbextension       3.5.1 wrapt              1.12.1 zipp              3.4.0

Tensorflow Library Not Working on M1 Chip Laptop
 
 
Q