[MacPorts] #59906: py35-pip: easy_install already exists and does not belong to a registered port

MacPorts noreply at macports.org
Fri Jan 3 00:48:23 UTC 2020


#59906: py35-pip: easy_install already exists and does not belong to a registered
port
----------------------+----------------------
  Reporter:  glenndk  |      Owner:  stromnov
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.2
Resolution:           |   Keywords:
      Port:  py-pip   |
----------------------+----------------------

Comment (by ryandesign):

 Remember to use WikiFormatting when writing in Trac. I've fixed your
 formatting above.

 There are two different errors shown in your log, from two different
 installation attempts (delimited by `version:1`). Neither of the problems
 seem like bugs in the port.

 Your first error:

 Replying to [ticket:59906 glenndk]:
 > {{{
 > :error:activate Failed to activate py35-setuptools: Image error:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/easy_install
 already exists and does not belong to a registered port.  Unable to
 activate port py35-setuptools. Use 'port -f activate py35-setuptools' to
 force the activation.
 > }}}

 Only you can tell us why this file already exists on your computer in a
 location where MacPorts expects to be the only one installing files. You
 can try forcing the activation as suggested in the error message, but I
 can't guarantee that you won't run into the same problem with a different
 port later on. I am not familiar with `pip`; perhaps it is possible that
 using `pip` would install files into the MacPorts prefix; if so you should
 not use `pip` in that manner. Make sure that from now on you do not cause
 files to be installed into the MacPorts prefix except by using MacPorts.


 Your second error:

 > {{{
 > :error:install Failed to install py35-setuptools: no destroot found at:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 setuptools/py35-setuptools/work/destroot
 > }}}

 This is #55445 a.k.a. wiki:ProblemHotlist#nodestrootfound.

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


More information about the macports-tickets mailing list