OpenWrt Forum Archive

Topic: obfsproxy/python problem

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I built obfsproxy from LEDE trunk, included it into my custom image.
However, after /etc/init.d/obfsproxy start, it dies immediately.
Getting no error output in logread, I tried a manual start and got
root@LEDE:/# obfsproxy --log-min-severity=info obfs2 --dest=127.0.0.1:1194 server 0.0.0.0:443
Traceback (most recent call last):
  File "/usr/bin/obfsproxy", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/tmp/pip-build-iGrcJj/setuptools/pkg_resources/__init__.py", line 3017, in <module>
  File "/tmp/pip-build-iGrcJj/setuptools/pkg_resources/__init__.py", line 3003, in _call_aside
  File "/tmp/pip-build-iGrcJj/setuptools/pkg_resources/__init__.py", line 3030, in _initialize_master_working_set
  File "/tmp/pip-build-iGrcJj/setuptools/pkg_resources/__init__.py", line 659, in _build_master
  File "/tmp/pip-build-iGrcJj/setuptools/pkg_resources/__init__.py", line 967, in require
  File "/tmp/pip-build-iGrcJj/setuptools/pkg_resources/__init__.py", line 853, in resolve
pkg_resources.DistributionNotFound: The 'obfsproxy==0.2.13' distribution was not found and is required by the application

Any ideas ?

Also broken in LEDE 17.0.4

The discussion might have continued from here.