On 08/01/2020 18:24, [email protected] wrote:

> Error: Failed to activate py37-setuptools: Image error: 
> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/easy_install 
> already exists and does not belong to a registered port.  Unable to activate 
> port py37-setuptools. Use 'port -f activate py37-setuptools' to force the 
> activation.

This error means at some point you overwrote your copy of easy_install
with a non-MacPorts version. Simply activate the package with the -f
(--force) flag.

port -f activate py37-setuptools

In the future, make sure avoid running pip/make
install/setup.py/easy_install/other package managers as root or using
sudo, especially if they are going to write into /opt/local.

--
Andrew

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to