FreeBSD 11.0-RELEASE-p1 Python 2.7.13 py27-matrix-synapse-0.21.0 I was trying to follow this tutorial to install synapse on freebsd https://forums.freebsd.org/threads/59835/ but I keep getting this error message. ###################################################################################################### Traceback (most recent call last): File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/site-packages/synapse/app/homeserver.py", line 31, in <module> from synapse.rest import ClientRestResource File "/usr/local/lib/python2.7/site-packages/synapse/rest/__init__.py", line 20, in <module> from synapse.rest.client.v1 import ( File "/usr/local/lib/python2.7/site-packages/synapse/rest/client/v1/pusher.py", line 23, in <module> from synapse.http.server import finish_request File "/usr/local/lib/python2.7/site-packages/synapse/http/server.py", line 31, in <module> from twisted.web import server, resource File "/usr/local/lib/python2.7/site-packages/twisted/web/server.py", line 31, in <module> from twisted.web import iweb, http, util File "/usr/local/lib/python2.7/site-packages/twisted/web/util.py", line 13, in <module> from twisted.python import urlpath File "/usr/local/lib/python2.7/site-packages/twisted/python/urlpath.py", line 15, in <module> from hyperlink import URL as _URL ImportError: No module named hyperlink ###################################################################################################### I tried those approaches without success - reinstall using port in stead of pkg - use the sample config file from /usr/local/etc/matrix-synapse and start it as is - use the command line from the port install message /usr/local/bin/python2.7 -B -m synapse.app.homeserver -c /usr/local/etc/matrix-synapse/homeserver.yaml --generate-config --server-name=example.com It looks like a python related message. Best regards dasti
This is caused by a bug in devel/py-twisted *** This bug has been marked as a duplicate of bug 219993 ***