Installing letsencrypt via ports is broken if a python dependency is previously installed via pip install. A warning should be displayed, at least. Ideally, if possible, the port should realize if the module is there because a pkg or pip install and do the right thing: (warn the user) or (pip uninstall && pkg install).
This issue was caused by the pip installation of $things into system site-packages, which shouldn't be done. I've been meaning to add a stern warning to devel/py-pip about this, and asked Alberto to create an issue for it. This is that issue, but I will create a blocking bug for the devel/py-pip change
(In reply to Kubilay Kocak from comment #1) @Kubilay, It's seems perfect :)
A commit references this bug: Author: koobs Date: Wed Feb 3 07:50:20 UTC 2016 New revision: 407947 URL: https://svnweb.freebsd.org/changeset/ports/407947 Log: devel/py-pip: Add pkg-message user WARNING Add a pkg-message warning users not to use pip to install packages in the system-wide Python environment location. This should have been done a long time ago. While I'm here: - Add LICENSE_FILE - Enable NO_ARCH - Match *_DEPENDS versions to those in setup.py - Fix incorrect pytest-xdist package name match PR: 205881, 205819 Reported by: many Suggested by: many MFH: 2016Q1 Changes: head/devel/py-pip/Makefile head/devel/py-pip/pkg-message
A commit references this bug: Author: koobs Date: Wed Feb 3 08:00:35 UTC 2016 New revision: 407948 URL: https://svnweb.freebsd.org/changeset/ports/407948 Log: MFH: r407947 devel/py-pip: Add pkg-message user WARNING Add a pkg-message warning users not to use pip to install packages in the system-wide Python environment location. This should have been done a long time ago. While I'm here: - Add LICENSE_FILE - Enable NO_ARCH - Match *_DEPENDS versions to those in setup.py - Fix incorrect pytest-xdist package name match PR: 205881, 205819 Reported by: many Suggested by: many MFH: 2016Q1 Approved by: ports-secteam (blanket) Changes: _U branches/2016Q1/ branches/2016Q1/devel/py-pip/Makefile branches/2016Q1/devel/py-pip/pkg-message
A warning message has been added to pip package installations in bug 205881 Any new features either in the framework, or in pip itself that adds the ability to detect these situations should be created in a separate issue. Thank you for the report Alberto!