Opened 3 years ago

Last modified 3 years ago

#62729 assigned defect

py3x-tensorflow @2.4.1_1 [+native]: tensorflow-2.4.1-cp38-cp38-macosx_11_0_x86_64.whl is not a supported wheel on this platform

Reported by: pier-d94 Owned by: emcrisostomo (Enrico Maria Crisostomo)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: catalina, x86_64 Cc: cjones051073 (Chris Jones)
Port: py-tensorflow

Description (last modified by pier-d94)

I'm having a problem with the installation of py3x-tensorflow native variant for the versions py37, py38, py39. After the building phase I get the following lines of output:

Error: Failed to destroot py38-tensorflow: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tensorflow/py38-tensorflow/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py38-tensorflow failed

I attach the logs for the py38 version (the py39 and py37 were lost when I tried to solve reinstalling macports, but I can retry the installation and have them again). I run MacOs 10.15.7 on a MacBook Pro (Retina, 15-inch, Early 2013)

Attachments (2)

main.log.zip (1.4 MB) - added by pier-d94 3 years ago.
main log for the py38-tensorflow version
main_39.log.zip (1.4 MB) - added by pier-d94 3 years ago.
mail log for py39-tensorflow subport

Change History (7)

Changed 3 years ago by pier-d94

Attachment: main.log.zip added

main log for the py38-tensorflow version

comment:1 Changed 3 years ago by pier-d94

Description: modified (diff)

comment:2 Changed 3 years ago by mf2k (Frank Schima)

Port: py-tensorflow added; py37-tensorflow py38-tensorflow py39-tensorflow removed

Changed 3 years ago by pier-d94

Attachment: main_39.log.zip added

mail log for py39-tensorflow subport

comment:3 Changed 3 years ago by pier-d94

Summary: py3x-tensorflow @ [+native]: fails to destroot (command execution failed).py3x-tensorflow @2.4.1_1 [+native]: fails to destroot (command execution failed).

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: py3x-tensorflow @2.4.1_1 [+native]: fails to destroot (command execution failed).py3x-tensorflow @2.4.1_1 [+native]: tensorflow-2.4.1-cp38-cp38-macosx_11_0_x86_64.whl is not a supported wheel on this platform

The relevant error at the end of the log is:

ERROR: tensorflow-2.4.1-cp38-cp38-macosx_11_0_x86_64.whl is not a supported wheel on this platform.

This looks like the same thing already reported in #62570. See also #62474. See if anything in those tickets helps.

comment:5 Changed 3 years ago by cjones051073 (Chris Jones)

Yeah, this is really an upstream bug I think, as it appears to create the whl file version based on the sdk being used, but if you are using an Xcode version that provides an sdk for the os after the one you are using, which is now common with Apple, you get this.

Note: See TracTickets for help on using tickets.