[MacPorts] #63943: Port py39-tensorflow-metal not found on arm64
MacPorts
noreply at macports.org
Sun Nov 14 00:06:23 UTC 2021
#63943: Port py39-tensorflow-metal not found on arm64
-------------------------------------------------+-------------------------
Reporter: essandess | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: arm64
Port: py39-tensorflow-metal, py39 |
-tensorflow-macos |
-------------------------------------------------+-------------------------
Comment (by essandess):
Thank you very much—I got it working.
There may be an issue running {{{port}}} under the universal
{{{/bin/bash}}} shell.
This wasn’t working on an M1:
{{{
echo $BASH
/bin/bash
file $BASH
/bin/bash: Mach-O universal binary with 2 architectures: [x86_64:\012-
Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>]
[arm64e (caps: 0x2):\012- Mach-O 64-bit arm64e (caps: PAC00) executable,
flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>]
}}}
This worked:
{{{
/opt/local/bin/bash
echo $BASH
/opt/local/bin/bash
file $BASH
/opt/local/bin/bash: Mach-O 64-bit arm64 executable,
flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
sudo rm
/opt/local/var/macports//sources/rsync.macports.org/macports/release/tarballs/ports/PortIndex
sudo port selfupdate
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63943#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list