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

MacPorts noreply at macports.org
Sat Mar 27 11:22:35 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
Resolution:                 |   Keywords:
      Port:  py-tensorflow  |
----------------------------+--------------------

Comment (by essandess):

 Replying to [comment:4 cjones051073]:
 > OK, so you are on macOS10.15. Macports configures things to use the
 10.15 SDK, but it appears bazel is ignoring this and picking the 11.0 SDK
 you must also have installed
 >
 > {{{
 > :info:build     APPLE_SDK_PLATFORM=MacOSX \
 > :info:build     APPLE_SDK_VERSION_OVERRIDE=11.1 \
 > }}}
 >
 > I've had problems with bazel picking the SDK badly in the past. We need
 to experiment with passing the correct SDK to bazel somehow...

 Oh, maybe {{{sudo xcode-select --switch
 /Library/Developer/CommandLineTools}}} will make a difference. I'll try
 and check back in after many, many hours of tensorflow building.

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


More information about the macports-tickets mailing list