Cannot install Tensorflow_hub on macbook air M1 Monterey 12.2.1

Hi I am facing issue with installing tensorflow_hub on MacBook Air 2020 M1 Monterey 12.2.1. I have installed miniforge conda tensorflow as per instructions on apple help site.

Tensorflow works, but tensorflow_hub fails during installation. It cannot find the packages. There is no help information available on tensorflow or conda website. Can anyone please suggest possible way to fix this. During installation conda gives a long list of package conflicts (python, etc) and does not install.

% conda install -c conda-forge tensorflow-hub

Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Hi,

can you share the rest of the log with the supposed incompatible packages list?

Hi
I tried again today, it did install packages this time, but failed at end. And it has messed up miniforge tensorflow env completely. Please see the log below.

Can you please suggest what is the best way to install tensorflow and related packages on macbook air m1 2020.
thanks

conda install -c conda-forge tensorflow-hub
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: done

Package Plan

environment location: /Users/nitinsinghal/miniforge3/envs/env_tensorflow

added / updated specs:
- tensorflow-hub

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
abseil-cpp-20210324.2      |       he49afe7_0         937 KB  conda-forge
absl-py-1.0.0              |     pyhd8ed1ab_0          95 KB  conda-forge
aiohttp-3.8.1              |   py39h89e85a6_0         565 KB  conda-forge
aiosignal-1.2.0            |     pyhd8ed1ab_0          12 KB  conda-forge
astunparse-1.6.3           |     pyhd8ed1ab_0          15 KB  conda-forge
async-timeout-4.0.2        |     pyhd8ed1ab_0           9 KB  conda-forge
blinker-1.4                |             py_1          13 KB  conda-forge
ca-certificates-2021.10.8  |       h033912b_0         139 KB  conda-forge
cachetools-4.2.4           |     pyhd8ed1ab_0          12 KB  conda-forge
certifi-2021.10.8          |   py39h6e9494a_1         145 KB  conda-forge
epoxy-1.5.9                |       h0d85af4_0         334 KB  conda-forge
font-ttf-dejavu-sans-mono-2.37|       hab24e00_0         388 KB  conda-forge
font-ttf-inconsolata-3.000 |       h77eed37_0          94 KB  conda-forge
font-ttf-source-code-pro-2.038|       h77eed37_0         684 KB  conda-forge
font-ttf-ubuntu-0.83       |       hab24e00_0         1.9 MB  conda-forge
fonts-conda-ecosystem-1    |                0           4 KB  conda-forge
fonts-conda-forge-1        |                0           4 KB  conda-forge
frozenlist-1.3.0           |   py39h89e85a6_0          41 KB  conda-forge
gast-0.4.0                 |     pyh9f0ad1d_0          12 KB  conda-forge
glib-2.70.2                |       hcf210ce_4         433 KB  conda-forge
glib-tools-2.70.2          |       hcf210ce_4          93 KB  conda-forge
google-auth-1.35.0         |     pyh6c4a22f_0          81 KB  conda-forge
google-auth-oauthlib-0.4.6 |     pyhd8ed1ab_0          19 KB  conda-forge
google-pasta-0.2.0         |     pyh8c360ce_0          42 KB  conda-forge
grpc-cpp-1.42.0            |       h6da9ac5_1         3.1 MB  conda-forge
gtk3-3.24.32               |       hbccf2bc_0         9.5 MB  conda-forge
harfbuzz-3.4.0             |       h447b35c_0         1.9 MB  conda-forge
icu-69.1                   |       he49afe7_0        12.9 MB  conda-forge
jbig-2.1                   |    h0d85af4_2003          42 KB  conda-forge
jpeg-9e                    |       h0d85af4_0         252 KB  conda-forge
keras-2.7.0                |     pyhd8ed1ab_0         842 KB  conda-forge
keras-preprocessing-1.1.2  |     pyhd8ed1ab_0          34 KB  conda-forge
lerc-3.0                   |       he49afe7_0         170 KB  conda-forge
libclang-13.0.1            |default_he082bbe_0         8.0 MB  conda-forge
libcurl-7.81.0             |       hf45b732_0         319 KB  conda-forge
libcxx-12.0.1              |       habf9029_1         1.1 MB  conda-forge
libdeflate-1.10            |       h0d85af4_0          78 KB  conda-forge
libevent-2.1.10            |       h815e4d9_4         1.1 MB  conda-forge
libglib-2.70.2             |       hf1fb8c0_4         2.8 MB  conda-forge
libllvm13-13.0.1           |       h64f94b2_2        25.3 MB  conda-forge
libpq-14.2                 |       hea3049e_0         2.9 MB  conda-forge
libprotobuf-3.19.4         |       hcf210ce_0         2.2 MB  conda-forge
libssh2-1.10.0             |       h52ee1ee_2         221 KB  conda-forge
libtiff-4.3.0              |       h17f2ce3_3         624 KB  conda-forge
libxml2-2.9.12             |       h7e28ab6_1         684 KB  conda-forge
libxslt-1.1.33             |       h1acebb3_3         475 KB  conda-forge
libzlib-1.2.11             |    h9173be1_1013          58 KB  conda-forge
markdown-3.3.6             |     pyhd8ed1ab_0          67 KB  conda-forge
multidict-6.0.2            |   py39h89e85a6_0          47 KB  conda-forge
mysql-common-8.0.28        |       h694c41f_0         1.8 MB  conda-forge
mysql-libs-8.0.28          |       h115446f_0         1.9 MB  conda-forge
oauthlib-3.2.0             |     pyhd8ed1ab_0          90 KB  conda-forge
openssl-1.1.1l             |       h0d85af4_0         1.9 MB  conda-forge
opt_einsum-3.3.0           |     pyhd8ed1ab_1          53 KB  conda-forge
pango-1.50.3               |       h7f27720_0         435 KB  conda-forge
protobuf-3.19.4            |   py39h9fcab8e_0         298 KB  conda-forge
pyasn1-0.4.8               |             py_0          53 KB  conda-forge
pyasn1-modules-0.2.7       |             py_0          60 KB  conda-forge
pyjwt-2.3.0                |     pyhd8ed1ab_1          18 KB  conda-forge
pyqt-5.12.3                |   py39h6e9494a_8          22 KB  conda-forge
pyqt-impl-5.12.3           |   py39he44290a_8         4.7 MB  conda-forge
pyqt5-sip-4.19.18          |   py39h15fb055_8         275 KB  conda-forge
pyqtchart-5.12             |   py39he44290a_8         213 KB  conda-forge
pyqtwebengine-5.12.1       |   py39he44290a_8         140 KB  conda-forge
python-flatbuffers-2.0     |     pyhd8ed1ab_0          28 KB  conda-forge
python_abi-3.9             |           2_cp39           4 KB  conda-forge
pyu2f-0.1.5                |     pyhd8ed1ab_0          31 KB  conda-forge
qt-5.12.9                  |       h2a607e2_5        87.9 MB  conda-forge
re2-2021.11.01             |       he49afe7_0         195 KB  conda-forge
requests-oauthlib-1.3.1    |     pyhd8ed1ab_0          22 KB  conda-forge
rsa-4.8                    |     pyhd8ed1ab_0          31 KB  conda-forge
snappy-1.1.8               |       hb1e8313_3          29 KB  conda-forge
tensorboard-2.6.0          |     pyhd8ed1ab_1         5.0 MB  conda-forge
tensorboard-data-server-0.6.0|   py39h209aa08_1         2.4 MB  conda-forge
tensorboard-plugin-wit-1.8.1|     pyhd8ed1ab_0         668 KB  conda-forge
tensorflow-2.7.0           |cpu_py39hb0a6171_0          27 KB  conda-forge
tensorflow-base-2.7.0      |cpu_py39h326c378_0       134.3 MB  conda-forge
tensorflow-estimator-2.7.0 |cpu_py39hf4c5dbc_0         653 KB  conda-forge
tensorflow-hub-0.12.0      |     pyhca92ed8_0          75 KB  conda-forge
termcolor-1.1.0            |             py_2           6 KB  conda-forge
werkzeug-2.0.3             |     pyhd8ed1ab_1         306 KB  conda-forge
yarl-1.7.2                 |   py39h89e85a6_1         128 KB  conda-forge
zlib-1.2.11                |    h9173be1_1013          87 KB  conda-forge
zstd-1.5.2                 |       h582d3a0_0         450 KB  conda-forge
------------------------------------------------------------
                                       Total:       324.7 MB

The following NEW packages will be INSTALLED:

abseil-cpp conda-forge/osx-64::abseil-cpp-20210324.2-he49afe7_0
absl-py conda-forge/noarch::absl-py-1.0.0-pyhd8ed1ab_0
aiohttp conda-forge/osx-64::aiohttp-3.8.1-py39h89e85a6_0
aiosignal conda-forge/noarch::aiosignal-1.2.0-pyhd8ed1ab_0
astunparse conda-forge/noarch::astunparse-1.6.3-pyhd8ed1ab_0
async-timeout conda-forge/noarch::async-timeout-4.0.2-pyhd8ed1ab_0
blinker conda-forge/noarch::blinker-1.4-py_1
cachetools conda-forge/noarch::cachetools-4.2.4-pyhd8ed1ab_0
font-ttf-dejavu-s~ conda-forge/noarch::font-ttf-dejavu-sans-mono-2.37-hab24e00_0
font-ttf-inconsol~ conda-forge/noarch::font-ttf-inconsolata-3.000-h77eed37_0
font-ttf-source-c~ conda-forge/noarch::font-ttf-source-code-pro-2.038-h77eed37_0
font-ttf-ubuntu conda-forge/noarch::font-ttf-ubuntu-0.83-hab24e00_0
fonts-conda-ecosy~ conda-forge/noarch::fonts-conda-ecosystem-1-0
fonts-conda-forge conda-forge/noarch::fonts-conda-forge-1-0
frozenlist conda-forge/osx-64::frozenlist-1.3.0-py39h89e85a6_0
gast conda-forge/noarch::gast-0.4.0-pyh9f0ad1d_0
glib-tools conda-forge/osx-64::glib-tools-2.70.2-hcf210ce_4
google-auth conda-forge/noarch::google-auth-1.35.0-pyh6c4a22f_0
google-auth-oauth~ conda-forge/noarch::google-auth-oauthlib-0.4.6-pyhd8ed1ab_0
google-pasta conda-forge/noarch::google-pasta-0.2.0-pyh8c360ce_0
grpc-cpp conda-forge/osx-64::grpc-cpp-1.42.0-h6da9ac5_1
jbig conda-forge/osx-64::jbig-2.1-h0d85af4_2003
keras conda-forge/noarch::keras-2.7.0-pyhd8ed1ab_0
keras-preprocessi~ conda-forge/noarch::keras-preprocessing-1.1.2-pyhd8ed1ab_0
lerc conda-forge/osx-64::lerc-3.0-he49afe7_0
libclang conda-forge/osx-64::libclang-13.0.1-default_he082bbe_0
libdeflate conda-forge/osx-64::libdeflate-1.10-h0d85af4_0
libglib conda-forge/osx-64::libglib-2.70.2-hf1fb8c0_4
libllvm13 conda-forge/osx-64::libllvm13-13.0.1-h64f94b2_2
libprotobuf conda-forge/osx-64::libprotobuf-3.19.4-hcf210ce_0
libzlib conda-forge/osx-64::libzlib-1.2.11-h9173be1_1013
markdown conda-forge/noarch::markdown-3.3.6-pyhd8ed1ab_0
multidict conda-forge/osx-64::multidict-6.0.2-py39h89e85a6_0
mysql-common conda-forge/osx-64::mysql-common-8.0.28-h694c41f_0
mysql-libs conda-forge/osx-64::mysql-libs-8.0.28-h115446f_0
oauthlib conda-forge/noarch::oauthlib-3.2.0-pyhd8ed1ab_0
opt_einsum conda-forge/noarch::opt_einsum-3.3.0-pyhd8ed1ab_1
protobuf conda-forge/osx-64::protobuf-3.19.4-py39h9fcab8e_0
pyasn1 conda-forge/noarch::pyasn1-0.4.8-py_0
pyasn1-modules conda-forge/noarch::pyasn1-modules-0.2.7-py_0
pyjwt conda-forge/noarch::pyjwt-2.3.0-pyhd8ed1ab_1
pyqt-impl conda-forge/osx-64::pyqt-impl-5.12.3-py39he44290a_8
pyqt5-sip conda-forge/osx-64::pyqt5-sip-4.19.18-py39h15fb055_8
pyqtchart conda-forge/osx-64::pyqtchart-5.12-py39he44290a_8
pyqtwebengine conda-forge/osx-64::pyqtwebengine-5.12.1-py39he44290a_8
python-flatbuffers conda-forge/noarch::python-flatbuffers-2.0-pyhd8ed1ab_0
python_abi conda-forge/osx-64::python_abi-3.9-2_cp39
pyu2f conda-forge/noarch::pyu2f-0.1.5-pyhd8ed1ab_0
re2 conda-forge/osx-64::re2-2021.11.01-he49afe7_0
requests-oauthlib conda-forge/noarch::requests-oauthlib-1.3.1-pyhd8ed1ab_0
rsa conda-forge/noarch::rsa-4.8-pyhd8ed1ab_0
snappy conda-forge/osx-64::snappy-1.1.8-hb1e8313_3
tensorboard conda-forge/noarch::tensorboard-2.6.0-pyhd8ed1ab_1
tensorboard-data-~ conda-forge/osx-64::tensorboard-data-server-0.6.0-py39h209aa08_1
tensorboard-plugi~ conda-forge/noarch::tensorboard-plugin-wit-1.8.1-pyhd8ed1ab_0
tensorflow conda-forge/osx-64::tensorflow-2.7.0-cpu_py39hb0a6171_0
tensorflow-base conda-forge/osx-64::tensorflow-base-2.7.0-cpu_py39h326c378_0
tensorflow-estima~ conda-forge/osx-64::tensorflow-estimator-2.7.0-cpu_py39hf4c5dbc_0
tensorflow-hub conda-forge/noarch::tensorflow-hub-0.12.0-pyhca92ed8_0
termcolor conda-forge/noarch::termcolor-1.1.0-py_2
werkzeug conda-forge/noarch::werkzeug-2.0.3-pyhd8ed1ab_1
yarl conda-forge/osx-64::yarl-1.7.2-py39h89e85a6_1

The following packages will be UPDATED:

epoxy pkgs/main/osx-arm64::epoxy-1.5.4-h1a2~ → conda-forge/osx-64::epoxy-1.5.9-h0d85af4_0
glib pkgs/main/osx-arm64::glib-2.69.1-h98b~ → conda-forge/osx-64::glib-2.70.2-hcf210ce_4
gtk3 pkgs/main/osx-arm64::gtk3-3.24.21-h32~ → conda-forge/osx-64::gtk3-3.24.32-hbccf2bc_0
harfbuzz pkgs/main/osx-arm64::harfbuzz-2.8.1-h~ → conda-forge/osx-64::harfbuzz-3.4.0-h447b35c_0
icu pkgs/main/osx-arm64::icu-68.1-hc377ac~ → conda-forge/osx-64::icu-69.1-he49afe7_0
jpeg pkgs/main/osx-arm64::jpeg-9d-h1a28f6b~ → conda-forge/osx-64::jpeg-9e-h0d85af4_0
libcurl pkgs/main/osx-arm64::libcurl-7.80.0-h~ → conda-forge/osx-64::libcurl-7.81.0-hf45b732_0
libcxx pkgs/main/osx-arm64::libcxx-12.0.0-hf~ → conda-forge/osx-64::libcxx-12.0.1-habf9029_1
libpq pkgs/main/osx-arm64::libpq-12.9-h65cf~ → conda-forge/osx-64::libpq-14.2-hea3049e_0
libssh2 pkgs/main/osx-arm64::libssh2-1.9.0-hf~ → conda-forge/osx-64::libssh2-1.10.0-h52ee1ee_2
libtiff pkgs/main/osx-arm64::libtiff-4.2.0-h1~ → conda-forge/osx-64::libtiff-4.3.0-h17f2ce3_3
libxml2 pkgs/main/osx-arm64::libxml2-2.9.12-h~ → conda-forge/osx-64::libxml2-2.9.12-h7e28ab6_1
pango pkgs/main/osx-arm64::pango-1.48.7-h79~ → conda-forge/osx-64::pango-1.50.3-h7f27720_0
zlib pkgs/main/osx-arm64::zlib-1.2.11-h5a0~ → conda-forge/osx-64::zlib-1.2.11-h9173be1_1013
zstd pkgs/main/osx-arm64::zstd-1.4.9-h8574~ → conda-forge/osx-64::zstd-1.5.2-h582d3a0_0

The following packages will be SUPERSEDED by a higher-priority channel:

ca-certificates pkgs/main/osx-arm64::ca-certificates-~ → conda-forge/osx-64::ca-certificates-2021.10.8-h033912b_0
certifi pkgs/main/osx-arm64::certifi-2021.10.~ → conda-forge/osx-64::certifi-2021.10.8-py39h6e9494a_1
libevent pkgs/main/osx-arm64::libevent-2.1.12-~ → conda-forge/osx-64::libevent-2.1.10-h815e4d9_4
libxslt pkgs/main/osx-arm64::libxslt-1.1.34-h~ → conda-forge/osx-64::libxslt-1.1.33-h1acebb3_3
openssl pkgs/main/osx-arm64::openssl-1.1.1m-h~ → conda-forge/osx-64::openssl-1.1.1l-h0d85af4_0
pyqt pkgs/main/osx-arm64::pyqt-5.15.2-py39~ → conda-forge/osx-64::pyqt-5.12.3-py39h6e9494a_8
qt pkgs/main/osx-arm64::qt-5.15.2-h4e944~ → conda-forge/osx-64::qt-5.12.9-h2a607e2_5

Proceed ([y]/n)? y

Downloading and Extracting Packages
oauthlib-3.2.0 | 90 KB | ############################################################## | 100%
blinker-1.4 | 13 KB | ############################################################## | 100%
python-flatbuffers-2 | 28 KB | ############################################################## | 100%
pyjwt-2.3.0 | 18 KB | ############################################################## | 100%
pyasn1-modules-0.2.7 | 60 KB | ############################################################## | 100%
font-ttf-inconsolata | 94 KB | ############################################################## | 100%
libdeflate-1.10 | 78 KB | ############################################################## | 100%
icu-69.1 | 12.9 MB | ############################################################## | 100%
aiohttp-3.8.1 | 565 KB | ############################################################## | 100%
gtk3-3.24.32 | 9.5 MB | ############################################################## | 100%
rsa-4.8 | 31 KB | ############################################################## | 100%
jpeg-9e | 252 KB | ############################################################## | 100%
libpq-14.2 | 2.9 MB | ############################################################## | 100%
epoxy-1.5.9 | 334 KB | ############################################################## | 100%
requests-oauthlib-1. | 22 KB | ############################################################## | 100%
google-auth-oauthlib | 19 KB | ############################################################## | 100%
libglib-2.70.2 | 2.8 MB | ############################################################## | 100%
yarl-1.7.2 | 128 KB | ############################################################## | 100%
fonts-conda-ecosyste | 4 KB | ############################################################## | 100%
tensorflow-estimator | 653 KB | ############################################################## | 100%
pyqt-5.12.3 | 22 KB | ############################################################## | 100%
libcurl-7.81.0 | 319 KB | ############################################################## | 100%
pango-1.50.3 | 435 KB | ############################################################## | 100%
pyqt-impl-5.12.3 | 4.7 MB | ############################################################## | 100%
libevent-2.1.10 | 1.1 MB | ############################################################## | 100%
werkzeug-2.0.3 | 306 KB | ############################################################## | 100%
jbig-2.1 | 42 KB | ############################################################## | 100%
pyqt5-sip-4.19.18 | 275 KB | ############################################################## | 100%
protobuf-3.19.4 | 298 KB | ############################################################## | 100%
glib-2.70.2 | 433 KB | ############################################################## | 100%
harfbuzz-3.4.0 | 1.9 MB | ############################################################## | 100%
libprotobuf-3.19.4 | 2.2 MB | ############################################################## | 100%
pyu2f-0.1.5 | 31 KB | ############################################################## | 100%
markdown-3.3.6 | 67 KB | ############################################################## | 100%
libllvm13-13.0.1 | 25.3 MB | ############################################################## | 100%
openssl-1.1.1l | 1.9 MB | ############################################################## | 100%
tensorboard-2.6.0 | 5.0 MB | ############################################################## | 100%
libclang-13.0.1 | 8.0 MB | ############################################################## | 100%
tensorboard-data-ser | 2.4 MB | ############################################################## | 100%
keras-2.7.0 | 842 KB | ############################################################## | 100%
pyasn1-0.4.8 | 53 KB | ############################################################## | 100%
zstd-1.5.2 | 450 KB | ############################################################## | 100%
mysql-common-8.0.28 | 1.8 MB | ############################################################## | 100%
libxml2-2.9.12 | 684 KB | ############################################################## | 100%
multidict-6.0.2 | 47 KB | ############################################################## | 100%
font-ttf-ubuntu-0.83 | 1.9 MB | ############################################################## | 100%
pyqtwebengine-5.12.1 | 140 KB | ############################################################## | 100%
gast-0.4.0 | 12 KB | ############################################################## | 100%
cachetools-4.2.4 | 12 KB | ############################################################## | 100%
snappy-1.1.8 | 29 KB | ############################################################## | 100%
astunparse-1.6.3 | 15 KB | ############################################################## | 100%
lerc-3.0 | 170 KB | ############################################################## | 100%
pyqtchart-5.12 | 213 KB | ############################################################## | 100%
re2-2021.11.01 | 195 KB | ############################################################## | 100%
font-ttf-source-code | 684 KB | ############################################################## | 100%
libzlib-1.2.11 | 58 KB | ############################################################## | 100%
tensorflow-hub-0.12. | 75 KB | ############################################################## | 100%
google-auth-1.35.0 | 81 KB | ############################################################## | 100%
zlib-1.2.11 | 87 KB | ############################################################## | 100%
ca-certificates-2021 | 139 KB | ############################################################## | 100%
python_abi-3.9 | 4 KB | ############################################################## | 100%
tensorflow-2.7.0 | 27 KB | ############################################################## | 100%
font-ttf-dejavu-sans | 388 KB | ############################################################## | 100%
abseil-cpp-20210324. | 937 KB | ############################################################## | 100%
opt_einsum-3.3.0 | 53 KB | ############################################################## | 100%
keras-preprocessing- | 34 KB | ############################################################## | 100%
certifi-2021.10.8 | 145 KB | ############################################################## | 100%
tensorboard-plugin-w | 668 KB | ############################################################## | 100%
libssh2-1.10.0 | 221 KB | ############################################################## | 100%
fonts-conda-forge-1 | 4 KB | ############################################################## | 100%
qt-5.12.9 | 87.9 MB | ############################################################## | 100%
libtiff-4.3.0 | 624 KB | ############################################################## | 100%
tensorflow-base-2.7. | 134.3 MB | ############################################################## | 100%
libxslt-1.1.33 | 475 KB | ############################################################## | 100%
mysql-libs-8.0.28 | 1.9 MB | ############################################################## | 100%
frozenlist-1.3.0 | 41 KB | ############################################################## | 100%
glib-tools-2.70.2 | 93 KB | ############################################################## | 100%
libcxx-12.0.1 | 1.1 MB | ############################################################## | 100%
absl-py-1.0.0 | 95 KB | ############################################################## | 100%
async-timeout-4.0.2 | 9 KB | ############################################################## | 100%
grpc-cpp-1.42.0 | 3.1 MB | ############################################################## | 100%
google-pasta-0.2.0 | 42 KB | ############################################################## | 100%
aiosignal-1.2.0 | 12 KB | ############################################################## | 100%
termcolor-1.1.0 | 6 KB | ############################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: - dyld[2059]: Library not loaded: @rpath/libintl.8.dylib
Referenced from: /Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/glib-compile-schemas
Reason: tried: ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/glib/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gobject/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gmodule/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/lib/libintl.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/glib/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gobject/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gmodule/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/lib/libintl.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/usr/local/lib/libintl.8.dylib’ (no such file), ‘/usr/lib/libintl.8.dylib’ (no such file)
ERROR: Failed to complete gtk3’s post-link script.
To fix this, activate the environment and run:
glib-compile-schemas “/Users/nitinsinghal/miniforge3/envs/env_tensorflow/share/glib-2.0/schemas”
gtk-update-icon-cache -f -t “/Users/nitinsinghal/miniforge3/envs/env_tensorflow/share/icons/hicolor”
gtk-query-immodules-3.0 --update-cache

done
(env_tensorflow) nitinsinghal@Nitins-MacBook-Air ~ % conda activate env_tensorflow
Could not find conda environment: env_tensorflow
You can list all discoverable environments with conda info --envs.

(env_tensorflow) nitinsinghal@Nitins-MacBook-Air ~ % glib-compile-schemas “/Users/nitinsinghal/miniforge3/envs/env_tensorflow/share/glib-2.0/schemas”
dyld[2910]: Library not loaded: @rpath/libintl.8.dylib
Referenced from: /Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/glib-compile-schemas
Reason: tried: ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/glib/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gobject/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gmodule/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/lib/libintl.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/glib/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gobject/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gmodule/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/lib/libintl.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/usr/local/lib/libintl.8.dylib’ (no such file), ‘/usr/lib/libintl.8.dylib’ (no such file)
zsh: abort glib-compile-schemas
(env_tensorflow) nitinsinghal@Nitins-MacBook-Air ~ % gtk-update-icon-cache -f -t “/Users/nitinsinghal/miniforge3/envs/env_tensorflow/share/icons/hicolor”
dyld[3039]: Library not loaded: @rpath/libintl.8.dylib
Referenced from: /Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/gtk-update-icon-cache
Reason: tried: ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gdk/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/lib/libintl.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/gdk/libintl.8.dylib’ (no such file), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/lib/libintl.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/usr/local/lib/libintl.8.dylib’ (no such file), ‘/usr/lib/libintl.8.dylib’ (no such file)
zsh: abort gtk-update-icon-cache -f -t
(env_tensorflow) nitinsinghal@Nitins-MacBook-Air ~ % jupyter notebook
Traceback (most recent call last):
File “/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/jupyter-notebook”, line 7, in
from notebook.notebookapp import main
File “/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/python3.9/site-packages/notebook/notebookapp.py”, line 60, in
from tornado import httpserver
File “/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/python3.9/site-packages/tornado/httpserver.py”, line 29, in
import ssl
File “/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/python3.9/ssl.py”, line 98, in
import _ssl # if we can’t import it, let the error propagate
ImportError: dlopen(/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/python3.9/lib-dynload/_ssl.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libssl.1.1.dylib
Referenced from: /Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/python3.9/lib-dynload/_ssl.cpython-39-darwin.so
Reason: tried: ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/python3.9/lib-dynload/…/…/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/python3.9/lib-dynload/…/…/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/lib/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/Users/nitinsinghal/miniforge3/envs/env_tensorflow/bin/…/lib/libssl.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/usr/local/lib/libssl.1.1.dylib’ (no such file), ‘/usr/lib/libssl.1.1.dylib’ (no such file)

import _ssl # if we can’t import it, let the error propagate
ImportError: dlopen(/Users/nitinsinghal/miniforge3/envs/env_tensorflow/lib/python3.9/lib-dynload/_ssl.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libssl.1.1.dylib

points out that libssl.1.1.dylib might be missing. Could you follow e.g. the steps from here to install it (and to create the appropriate symlinks)?

Thanks for this, but i did a clean install again using apple instructions.
Now i can’t import tensorflow or numpy.
Please see log below. I tried updating/reinstalling numpy, but no use.
Is there any standard installation process from tensorflow for mac M1 chip till its fixed?

Python 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:28:27)
[Clang 11.1.0 ] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.

import tensorflow as tf
Traceback (most recent call last):
File “”, line 1, in
File “/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/tensorflow/init.py”, line 37, in
from tensorflow.python.tools import module_util as _module_util
File “/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/tensorflow/python/init.py”, line 24, in
import ctypes
File “/Users/nitinsinghal/miniforge3/lib/python3.9/ctypes/init.py”, line 8, in
from _ctypes import Union, Structure, Array
ImportError: dlopen(/Users/nitinsinghal/miniforge3/lib/python3.9/lib-dynload/_ctypes.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libffi.8.dylib
Referenced from: /Users/nitinsinghal/miniforge3/lib/python3.9/lib-dynload/_ctypes.cpython-39-darwin.so
Reason: tried: ‘/Users/nitinsinghal/miniforge3/lib/python3.9/lib-dynload/…/…/libffi.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/Users/nitinsinghal/miniforge3/lib/python3.9/lib-dynload/…/…/libffi.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/Users/nitinsinghal/miniforge3/bin/…/lib/libffi.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/Users/nitinsinghal/miniforge3/bin/…/lib/libffi.8.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/usr/local/lib/libffi.8.dylib’ (no such file), ‘/usr/lib/libffi.8.dylib’ (no such file)
import numpy as np
Traceback (most recent call last):
File “/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/core/init.py”, line 22, in
from . import multiarray
File “/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py”, line 12, in
from . import overrides
File “/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/core/overrides.py”, line 7, in
from numpy.core._multiarray_umath import (
ImportError: dlopen(/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/core/_multiarray_umath.cpython-39-darwin.so, 0x0002): tried: ‘/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/core/_multiarray_umath.cpython-39-darwin.so’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/usr/local/lib/_multiarray_umath.cpython-39-darwin.so’ (no such file), ‘/usr/lib/_multiarray_umath.cpython-39-darwin.so’ (no such file)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “”, line 1, in
File “/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/init.py”, line 150, in
from . import core
File “/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/core/init.py”, line 48, in
raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  • The Python version is: Python3.9 from “/Users/nitinsinghal/miniforge3/bin/python”
  • The NumPy version is: “1.21.5”

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: dlopen(/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/core/_multiarray_umath.cpython-39-darwin.so, 0x0002): tried: ‘/Users/nitinsinghal/miniforge3/lib/python3.9/site-packages/numpy/core/_multiarray_umath.cpython-39-darwin.so’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/usr/local/lib/_multiarray_umath.cpython-39-darwin.so’ (no such file), ‘/usr/lib/_multiarray_umath.cpython-39-darwin.so’ (no such file)

@mrdbourke created this great post with instructions: Setup Apple Mac for Machine Learning with TensorFlow (works for all M1 and M2 chips)

maybe it can help you

Great that worked.
But I am still getting errors installing tensorflow-hub. Can you please suggest fix. Log below, too long so have deleted some. Thanks

% conda install tensorflow-hub
Collecting package metadata (current_repodata.json): done
Solving environment: |
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  • defaults/osx-arm64::widgetsnbextension==3.5.2=py38hca03da5_0

  • defaults/noarch::jupyter_client==7.1.2=pyhd3eb1b0_0

  • apple/osx-arm64::tensorflow-deps==2.8.0=0

  • defaults/noarch::nbclient==0.5.11=pyhd3eb1b0_0

  • defaults/noarch::python-dateutil==2.8.2=pyhd3eb1b0_0

  • defaults/osx-arm64::jupyter==1.0.0=py38hca03da5_7

  • defaults/osx-arm64::notebook==6.4.8=py38hca03da5_0

  • defaults/noarch::jupyter_console==6.4.0=pyhd3eb1b0_0

  • defaults/osx-arm64::grpcio==1.42.0=py38h95c9599_0

  • defaults/noarch::bleach==4.1.0=pyhd3eb1b0_0

  • defaults/noarch::jsonschema==3.2.0=pyhd3eb1b0_2

  • defaults/noarch::nbformat==5.1.3=pyhd3eb1b0_0

  • defaults/noarch::qtconsole==5.2.2=pyhd3eb1b0_0

  • defaults/noarch::ipywidgets==7.6.5=pyhd3eb1b0_1

  • defaults/osx-arm64::matplotlib==3.5.1=py38hca03da5_0

  • defaults/osx-arm64::nbconvert==6.3.0=py38hca03da5_0

  • defaults/osx-arm64::matplotlib-base==3.5.1=py38hc377ac9_0

  • defaults/osx-arm64::pandas==1.4.1=py38hc377ac9_0

  • defaults/osx-arm64::ipykernel==6.4.1=py38hca03da5_1
    failed with initial frozen solve. Retrying with flexible solve.
    Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
    Collecting package metadata (repodata.json): done
    Solving environment: /
    The environment is inconsistent, please check the package plan carefully
    The following packages are causing the inconsistency:

  • defaults/osx-arm64::widgetsnbextension==3.5.2=py38hca03da5_0

  • defaults/noarch::jupyter_client==7.1.2=pyhd3eb1b0_0

  • apple/osx-arm64::tensorflow-deps==2.8.0=0

  • defaults/noarch::nbclient==0.5.11=pyhd3eb1b0_0

  • defaults/noarch::python-dateutil==2.8.2=pyhd3eb1b0_0

  • defaults/osx-arm64::jupyter==1.0.0=py38hca03da5_7

  • defaults/osx-arm64::notebook==6.4.8=py38hca03da5_0

  • defaults/noarch::jupyter_console==6.4.0=pyhd3eb1b0_0

  • defaults/osx-arm64::grpcio==1.42.0=py38h95c9599_0

  • defaults/noarch::bleach==4.1.0=pyhd3eb1b0_0

  • defaults/noarch::jsonschema==3.2.0=pyhd3eb1b0_2

  • defaults/noarch::nbformat==5.1.3=pyhd3eb1b0_0

  • defaults/noarch::qtconsole==5.2.2=pyhd3eb1b0_0

  • defaults/noarch::ipywidgets==7.6.5=pyhd3eb1b0_1

  • defaults/osx-arm64::matplotlib==3.5.1=py38hca03da5_0

  • defaults/osx-arm64::nbconvert==6.3.0=py38hca03da5_0

  • defaults/osx-arm64::matplotlib-base==3.5.1=py38hc377ac9_0

  • defaults/osx-arm64::pandas==1.4.1=py38hc377ac9_0

  • defaults/osx-arm64::ipykernel==6.4.1=py38hca03da5_1
    failed with initial frozen solve. Retrying with flexible solve.
    Solving environment: /
    Found conflicts! Looking for incompatible packages.
    This can take several minutes. Press CTRL-C to abort.
    failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  • argon2-cffi → python[version=‘3.10.|3.6.12|3.6.12|3.7.10|3.7.10|3.7.12|3.7.9|3.6.9|3.6.9|3.6.9|3.6.9|3.9.|3.8.*’,build=‘0_73_pypy|2_73_pypy|3_73_pypy|0_73_pypy|0_73_pypy|1_73_pypy|5_73_pypy|5_73_pypy|4_73_pypy|1_73_pypy’]
  • argon2-cffi-bindings → python[version=‘3.10.|3.6.12|3.6.12|3.7.10|3.7.10|3.7.12|3.7.9|3.6.9|3.6.9|3.6.9|3.6.9|3.8.|3.9.*’,build=‘0_73_pypy|2_73_pypy|3_73_pypy|0_73_pypy|0_73_pypy|1_73_pypy|5_73_pypy|5_73_pypy|4_73_pypy|1_73_pypy’]
  • cffi → python[version=‘3.6.12|3.6.12|3.7.10|3.7.10|3.7.12|>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|3.7.9|3.6.9|3.6.9|3.6.9|3.6.9’,build=‘0_73_pypy|2_73_pypy|3_73_pypy|4_73_pypy|0_73_pypy|0_73_pypy|*_cpython|1_73_pypy|5_73_pypy|5_73_pypy|1_73_pypy’]

Your python: python=3.8

If python is on the left-most side of the chain, that’s the version you’ve asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

The following specifications were found to be incompatible with a past
explicit spec that is not an explicit spec in this operation (numpy):

  • tensorflow-hub → numpy[version=‘>=1.12.0’]

The following specifications were found to be incompatible with each other:

Output in format: Requested package → Available versions

Package llvm-openmp conflicts for:
gtk3 → gettext[version=‘>=0.21.0,<1.0a0’] → llvm-openmp[version=‘>=12.0.0’]
liblapack → libgfortran5[version=‘>=11.1.0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
openblas → libgfortran5[version=‘>=11.0.1.dev0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
hdf5 → libgfortran5[version=‘>=11.1.0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
gettext → llvm-openmp[version=‘>=12.0.0’]
libopenblas → libgfortran5[version=‘>=11.1.0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
libopenblas → llvm-openmp[version=‘>=11.0.0|>=11.1.0|>=12.0.1’]
numpy → libopenblas[version=‘>=0.3.17,<1.0a0’] → llvm-openmp[version=‘>=11.1.0|>=12.0.1|>=8.0.0’]
numpy-base → libopenblas[version=‘>=0.3.17,<1.0a0’] → llvm-openmp[version=‘>=11.1.0|>=12.0.1’]
libgfortran → libgfortran5 → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
blas → libgfortran5[version=‘>=11.0.1.dev0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
libgfortran5 → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
blas-devel → openblas=0.3.18 → llvm-openmp[version=‘>=11.0.0|>=11.1.0|>=12.0.1’]
scikit-learn → llvm-openmp[version=‘>=11.0.0|>=11.0.1|>=11.1.0|>=12.0.0|>=12.0.1’]
libcblas → libgfortran5[version=‘>=11.1.0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
liblapacke → libgfortran5[version=‘>=11.1.0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=8.0.0’]
scipy → libgfortran5[version=‘>=11.1.0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=11.1.0|>=8.0.0|>=12.0.1’]
gobject-introspection → gettext → llvm-openmp[version=‘>=12.0.0’]
librsvg → gettext[version=‘>=0.21.0,<1.0a0’] → llvm-openmp[version=‘>=12.0.0’]
openblas → llvm-openmp[version=‘>=11.0.0|>=11.1.0|>=12.0.1’]
numexpr → libopenblas[version=‘>=0.3.17,<1.0a0’] → llvm-openmp[version=‘>=11.1.0|>=12.0.1’]
gdk-pixbuf → gettext[version=‘>=0.21.0,<1.0a0’] → llvm-openmp[version=‘>=12.0.0’]
libblas → libgfortran5[version=‘>=11.1.0’] → llvm-openmp[version=‘>=11.0.0.0rc.1|>=11.0.0|>=11.1.0|>=8.0.0|>=12.0.1’]
glib → gettext[version=‘>=0.21.0,<1.0a0’] → llvm-openmp[version=‘>=12.0.0’]

Package openssl conflicts for:
defusedxml → python → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
pyparsing → python[version=‘>=3.6’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
pygments → python[version=‘>=3.5’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
pickleshare → python[version=‘>=3’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
send2trash → python → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
setuptools → python[version=‘>=3.8,<3.9.0a0’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1l,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1m,<1.1.2a’]
certifi → python[version=‘>=3.10,<3.11.0a0’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
numpy-base → python[version=‘>=3.8,<3.9.0a0’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1l,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1m,<1.1.2a’]
cycler → python[version=‘>=3.6’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
nbclient → python[version=‘>=3.7’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
nbformat → python[version=‘>=3.5’] → openssl[version=‘>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1k,<1.1.2a’]
grpcio → python[version=‘>=3.8,<3.9.0a0’] → openssl[version=‘>=1.1.1g,<1.1.2a’]

Hi,

The channel your Conda looks does not contain the package! or the available package does not support arm64.
It is a shame to have a nice hardware but not be able to use them.

You need to modify your command as below:

$conda install -c conda-forge tensorflow-hub

The -c determines the channel to look.
Currently, I am using mini-forge.
So far, I found mini-forge to be more compatible with Apple M1.