[MacPorts] #41962: py27-setuptools @2.0.1_0: easy_install already exists and does not belong to a registered port (was: port py27-numpy failed)
MacPorts
noreply at macports.org
Sun Dec 29 13:26:18 PST 2013
#41962: py27-setuptools @2.0.1_0: easy_install already exists and does not belong
to a registered port
------------------------------+-------------------
Reporter: paulfwb@… | Owner: jmr@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: py27-setuptools |
------------------------------+-------------------
Changes (by ryandesign@…):
* priority: High => Normal
* keywords: Python =>
* owner: macports-tickets@… => jmr@…
* port: python27 => py27-setuptools
Old description:
> sudo port install py27-numpy py27-scipy py27-matplotlib py27-ipython
> +notebook py27-pandas py27-sympy py27-nose
> dyld: DYLD_ environment variables being ignored because main executable
> (/usr/bin/sudo) is setuid or setgid
> Password:
> ---> Computing dependencies for py27-numpy
> ---> Dependencies to be installed: py27-nose py27-setuptools
> ---> Activating py27-setuptools @2.0.1_0
> Error: org.macports.activate for port py27-setuptools returned: Image
> error:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install
> already exists and does not belong to a registered port. Unable to
> activate port py27-setuptools. Use 'port -f activate py27-setuptools' to
> force the activation.
> Error: Failed to install py27-setuptools
> Please see the log file for port py27-setuptools for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_python_py-setuptools/py27-setuptools/main.log
> Error: The following dependencies were not installed: py27-nose
> py27-setuptools
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: Processing of port py27-numpy failed
New description:
{{{
sudo port install py27-numpy py27-scipy py27-matplotlib py27-ipython
+notebook py27-pandas py27-sympy py27-nose
dyld: DYLD_ environment variables being ignored because main executable
(/usr/bin/sudo) is setuid or setgid
Password:
---> Computing dependencies for py27-numpy
---> Dependencies to be installed: py27-nose py27-setuptools
---> Activating py27-setuptools @2.0.1_0
Error: org.macports.activate for port py27-setuptools returned: Image
error:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install
already exists and does not belong to a registered port. Unable to
activate port py27-setuptools. Use 'port -f activate py27-setuptools' to
force the activation.
Error: Failed to install py27-setuptools
Please see the log file for port py27-setuptools for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_python_py-setuptools/py27-setuptools/main.log
Error: The following dependencies were not installed: py27-nose
py27-setuptools
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port py27-numpy failed
}}}
--
Comment:
Yes, only you can explain why that file, which should only be installed by
the py27-setuptools port, already exists on your system. If you cannot
explain it, you may be better off following the complete uninstall
instructions in our guide, including removing /opt/local entirely, then
reinstalling MacPorts and the ports you want. This will ensure that you
don't have any unwanted files in your MacPorts prefix.
Also, what `DYLD_` environment variables do you have set, and why? Often
it is a mistake to set such variables.
--
Ticket URL: <https://trac.macports.org/ticket/41962#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list