Found in Qubes-Whonix 11. (Other versions untested.)
user@host:~$ obfsproxy -h
Traceback (most recent call last):
File "/usr/bin/obfsproxy", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 440, in _build_master
ws = cls()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 433, in __init__
self.add_entry(entry)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 489, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1902, in find_on_path
for entry in os.listdir(path_item):
OSError: [Errno 13] Permission denied: '/rw/usrlocal/lib/python2.7/dist-packages'audit: type=1400 audit(1439566453.497:15): apparmor="DENIED" operation="open" profile="/usr/bin/obfsproxy" name="/rw/usrlocal/lib/python2.7/dist-packages/" pid=4078 comm="obfsproxy" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
I have no idea why obfsproxy or some lib it is using tries to access /usr/local.
in Qubes, /usr/local is a symlink to /rw/usrlocal.