[MacPorts] #59035: unable to activate py36-google-pasta (was: unable download py36-tensorflow)
MacPorts
noreply at macports.org
Sat Sep 14 14:15:34 UTC 2019
#59035: unable to activate py36-google-pasta
--------------------------------+--------------------
Reporter: Antwnina | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: invalid | Keywords:
Port: py36-google-pasta |
--------------------------------+--------------------
Changes (by jmroot):
* status: new => closed
* priority: High => Normal
* milestone: MacPorts 2.7.0 =>
* keywords: tensorflow, keras, python, py36 =>
* resolution: => invalid
* port: => py36-google-pasta
Old description:
> MacBook-Pro:temp adpk$ sudo port install py36-tensorflow
> Password:
> ---> Computing dependencies for py36-tensorboard
> ---> Fetching archive for py36-tensorboard
> ---> Attempting to fetch py36-tensorboard-1.14.0_1.darwin_18.noarch.tbz2
> from http://nue.de.packages.macports.org/py36-tensorboard
> ---> Attempting to fetch
> py36-tensorboard-1.14.0_1.darwin_18.noarch.tbz2.rmd160 from
> http://nue.de.packages.macports.org/py36-tensorboard
> ---> Installing py36-tensorboard @1.14.0_1
> ---> Cleaning py36-tensorboard
> ---> Computing dependencies for py36-tensorboard
> ---> Deactivating py36-tensorboard @1.14.0_0
> ---> Cleaning py36-tensorboard
> ---> Activating py36-tensorboard @1.14.0_1
> ---> Cleaning py36-tensorboard
> ---> Computing dependencies for py36-tensorflow
> The following dependencies will be installed:
> py36-google-pasta
> py36-tensorflow_estimator
> Continue? [Y/n]: y
> ---> Fetching archive for py36-google-pasta
> ---> Attempting to fetch py36-google-pasta-0.1.7_0.darwin_18.noarch.tbz2
> from http://nue.de.packages.macports.org/py36-google-pasta
> ---> Attempting to fetch py36-google-
> pasta-0.1.7_0.darwin_18.noarch.tbz2.rmd160 from
> http://nue.de.packages.macports.org/py36-google-pasta
> ---> Installing py36-google-pasta @0.1.7_0
> ---> Activating py36-google-pasta @0.1.7_0
> Error: Failed to activate py36-google-pasta: Image error:
> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
> /site-packages/pasta/__init__.py already exists and does not belong to a
> registered port. Unable to activate port py36-google-pasta. Use 'port -f
> activate py36-google-pasta' to force the activation.
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-google-pasta/py36-google-
> pasta/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port py36-tensorflow failed
New description:
{{{
MacBook-Pro:temp adpk$ sudo port install py36-tensorflow
Password:
---> Computing dependencies for py36-tensorboard
---> Fetching archive for py36-tensorboard
---> Attempting to fetch py36-tensorboard-1.14.0_1.darwin_18.noarch.tbz2
from http://nue.de.packages.macports.org/py36-tensorboard
---> Attempting to fetch
py36-tensorboard-1.14.0_1.darwin_18.noarch.tbz2.rmd160 from
http://nue.de.packages.macports.org/py36-tensorboard
---> Installing py36-tensorboard @1.14.0_1
---> Cleaning py36-tensorboard
---> Computing dependencies for py36-tensorboard
---> Deactivating py36-tensorboard @1.14.0_0
---> Cleaning py36-tensorboard
---> Activating py36-tensorboard @1.14.0_1
---> Cleaning py36-tensorboard
---> Computing dependencies for py36-tensorflow
The following dependencies will be installed:
py36-google-pasta
py36-tensorflow_estimator
Continue? [Y/n]: y
---> Fetching archive for py36-google-pasta
---> Attempting to fetch py36-google-pasta-0.1.7_0.darwin_18.noarch.tbz2
from http://nue.de.packages.macports.org/py36-google-pasta
---> Attempting to fetch py36-google-
pasta-0.1.7_0.darwin_18.noarch.tbz2.rmd160 from
http://nue.de.packages.macports.org/py36-google-pasta
---> Installing py36-google-pasta @0.1.7_0
---> Activating py36-google-pasta @0.1.7_0
Error: Failed to activate py36-google-pasta: Image error:
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/pasta/__init__.py already exists and does not belong to a
registered port. Unable to activate port py36-google-pasta. Use 'port -f
activate py36-google-pasta' to force the activation.
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-google-pasta/py36-google-
pasta/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py36-tensorflow failed
}}}
--
Comment:
As the message says, you have existing files (that weren't installed by
any port MacPorts knows about) with the same names as those that this port
is trying to install, creating a conflict. There is no bug in the port
here, you just need to take care of the conflicting files.
--
Ticket URL: <https://trac.macports.org/ticket/59035#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list