[MacPorts] #65777: py*-torchtext fails to install on arm

MacPorts noreply at macports.org
Mon Sep 5 14:30:27 UTC 2022


#65777: py*-torchtext fails to install on arm
-----------------------+--------------------------
 Reporter:  essandess  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.2
 Keywords:             |       Port:  py-torchtext
-----------------------+--------------------------
 This fails on an arm machine:

 {{{
 sudo port -pNc install py310-torchtext
 --->  Computing dependencies for py310-torchtext
 Error: Cannot install py310-torchtext for the arch 'x86_64' because
 Error: its dependency py310-pytorch does not build for the required arch
 by default
 Error: and does not have a universal variant.
 }}}

 But installing PyTorch just works:
 {{{
 sudo port -pNc install py310-pytorch
 --->  Computing dependencies for py310-pytorch
 --->  Fetching archive for py310-pytorch
 --->  Attempting to fetch py310-pytorch-1.12.0_1+mps.darwin_21.arm64.tbz2
 from https://packages.macports.org/py310-pytorch
 --->  Attempting to fetch
 py310-pytorch-1.12.0_1+mps.darwin_21.arm64.tbz2.rmd160 from
 https://packages.macports.org/py310-pytorch
 --->  Installing py310-pytorch @1.12.0_1+mps
 --->  Activating py310-pytorch @1.12.0_1+mps
 }}}

 Why would {{{py*-torchtext}}} believe that it's being installed on an
 {{{x86_64}}} box when it's being installed on an arm box?

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


More information about the macports-tickets mailing list