I can't install pyusb through macports

心如烛光 275438859 at qq.com
Mon Jun 18 09:07:40 PDT 2012

    I wanna install py27-pyusb into my OSX(lion 10.7.4) through macports. But I meet some errors.And I wanna know that what cause these errors and how can I fix it?Thanks for your help!
I input:sudo port install py27-pyusb-devel
then it responds:
--->  Computing dependencies for py27-pyusb-devel
--->  Dependencies to be installed: python27
--->  Activating python27 @2.7.3_0
Error: org.macports.activate for port python27 returned: Image error: /Applications/MacPorts/Python 2.7/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port.  Unable to activate port python27. Use 'port -f activate python27' to force the activation.
Error: Failed to install python27
Please see the log file for port python27 for details:
Error: The following dependencies were not installed: python27
To report a bug, follow the instructions in the guide:
Error: Processing of port py27-pyusb-devel failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120619/870f9882/attachment.html>

More information about the macports-users mailing list