[MacPorts] #67627: Failed to build py310-pytorch: command execution failed -- Building on on arm64/M1 -- tbb.h not found
MacPorts
noreply at macports.org
Wed Jun 14 15:59:15 UTC 2023
#67627: Failed to build py310-pytorch: command execution failed -- Building on on
arm64/M1 -- tbb.h not found
---------------------+---------------------------
Reporter: mikeumo | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: py310-pytorch
---------------------+---------------------------
Trying to install py310-pytorch on M1 (fresh install)
I get the error in the title and I have tried several times after port
clean.
The problem seems to be stemming from the tbb/tbb.h: file not found error
(see attached main.log)
However, I have tbb (and onetbb) installed and I have checked their
contents and they contain
/opt/local/libexec/tbb/include/tbb/tbb.h
and
/opt/local/libexec/onetbb/include/tbb/tbb.h
respectively.
So, how can PyTorch find the tbb.h?
Thank you for your time,
Mikhail.
--
Ticket URL: <https://trac.macports.org/ticket/67627>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list