[MacPorts] #62570: py-tensorflow: pip whl is not a supported wheel on this platform.

MacPorts noreply at macports.org
Sat Mar 27 11:05:33 UTC 2021


#62570: py-tensorflow: pip whl is not a supported wheel on this platform.
-----------------------+---------------------------
 Reporter:  essandess  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.4
 Keywords:             |       Port:  py-tensorflow
-----------------------+---------------------------
 Hitting this pip issue at destroot with Chris's most recent fixes:

 {{{
 sudo port install py39-tensorflow
 }}}

 {{{
 :debug:destroot system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorflow/py39-tensorflow/work/tensorflow-2.4.1" && pip-3.9 install
 --ignore-installed --no-cache-dir --no-dependencies --root
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorflow/py39-tensorflow/work/destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorflow/py39-tensorflow/work/tensorflow-*.whl
 :info:destroot ERROR: tensorflow-2.4.1-cp39-cp39-macosx_11_0_x86_64.whl is
 not a supported wheel on this platform.
 }}}

 Digging a little deeper into the pip creation shows this issue:

 {{{
 :info:build INFO: Build completed successfully, 19332 total actions
 :debug:build Executing proc-post-org.macports.build-build-0
 :debug:build system -W
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorflow/py39-tensorflow/work/tensorflow-2.4.1: ./bazel-
 bin/tensorflow/tools/pip_package/build_pip_package
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorflow/py39-tensorflow/work
 ...
 :info:build Sat Mar 27 00:18:24 EDT 2021 : === Building wheel
 :info:build warning: no files found matching 'README'
 :info:build warning: no files found matching '*.pyd' under directory '*'
 :info:build warning: no files found matching '*.pyi' under directory '*'
 :info:build warning: no files found matching '*.pd' under directory '*'
 :info:build warning: no files found matching '*.so.[0-9]' under directory
 '*'
 :info:build warning: no files found matching '*.dll' under directory '*'
 :info:build warning: no files found matching '*.lib' under directory '*'
 :info:build warning: no files found matching '*.csv' under directory '*'
 :info:build warning: no files found matching '*.h' under directory
 'tensorflow/include/tensorflow'
 :info:build warning: no files found matching '*.proto' under directory
 'tensorflow/include/tensorflow'
 :info:build warning: no files found matching '*' under directory
 'tensorflow/include/third_party'
 :info:build [WARNING] This wheel needs a higher macOS version than the
 version your Python interpreter is compiled against.  To silence this
 warning, set MACOSX_DEPLOYMENT_TARGET to at least 11_0 or recreate these
 files with lower MACOSX_DEPLOYMENT_TARGET:
 }}}

 Full log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/62570>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list