[MacPorts] #60482: tensorflow, theano, python

MacPorts noreply at macports.org
Wed May 13 21:41:55 UTC 2020


#60482: tensorflow, theano, python
----------------------------+--------------------------
  Reporter:  museum-future  |      Owner:  emcrisostomo
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.2
Resolution:                 |   Keywords:
      Port:  py-tensorflow  |
----------------------------+--------------------------

Old description:

> Hello,
>
> py38-tensorflow installs as does py38-keras but py38-theano is not as it
> is not in the formula for python versions.
>
> py-theano
>
> "python.versions     27 35 36 37 "
>

> py37-tensorflow will not install with errors caused by this line
>
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> tensorflow/py37-tensorflow/work/tensorflow-tensorflow-
> 2b96f36/tensorflow/core/platform/default/BUILD:257:1: in srcs attribute
> of cc_library rule //tensorflow/core/platform/default:platform_port:
> please do not import '//tensorflow/core/platform:cpu_info.cc' directly.
> You should either move the file to this package or depend on an
> appropriate rule there. Since this rule was created by the macro
> 'cc_library', the error might have been caused by the macro
> implementation"

New description:

 Hello,

 py38-tensorflow installs as does py38-keras but py38-theano is not as it
 is not in the formula for python versions.
 {{{
 py-theano

 "python.versions     27 35 36 37 "
 }}}

 py37-tensorflow will not install with errors caused by this line
 {{{
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorflow/py37-tensorflow/work/tensorflow-tensorflow-
 2b96f36/tensorflow/core/platform/default/BUILD:257:1: in srcs attribute of
 cc_library rule //tensorflow/core/platform/default:platform_port: please
 do not import '//tensorflow/core/platform:cpu_info.cc' directly. You
 should either move the file to this package or depend on an appropriate
 rule there. Since this rule was created by the macro 'cc_library', the
 error might have been caused by the macro implementation"
 }}}

--

Comment (by mf2k):

 In the future, please use WikiFormatting.

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


More information about the macports-tickets mailing list