This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/op25-dev@lists.osmocom.org/.
'O'Connor, Daniel' darius@dons.net.au [op25-dev] op25-dev at yahoogroups.comHi, I'm trying to build op25 on OSX and while I can get it to build and install it doesn't work. It sends up installing into /opt/local/lib/python2.7/site-packages instead of /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ If I add /opt/local/lib/python2.7/site-packages to sys.path or copy the files into the 'right' directory I get the following error.. In [2]: sys.path.append('/opt/local/lib/python2.7/site-packages/') In [3]: import op25 --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-3-7d3debe9ed1a> in <module>() ----> 1 import op25 /opt/local/lib/python2.7/site-packages/op25/__init__.py in <module>() 43 44 # import swig generated symbols into the op25 namespace ---> 45 from op25_swig import * 46 47 # import any pure python here /opt/local/lib/python2.7/site-packages/op25/op25_swig.py in <module>() 15 except ImportError: 16 return importlib.import_module('_op25_swig') ---> 17 _op25_swig = swig_import_helper() 18 del swig_import_helper 19 elif _swig_python_version_info >= (2, 6, 0): /opt/local/lib/python2.7/site-packages/op25/op25_swig.py in swig_import_helper() 14 return importlib.import_module(mname) 15 except ImportError: ---> 16 return importlib.import_module('_op25_swig') 17 _op25_swig = swig_import_helper() 18 del swig_import_helper /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.pyc in import_module(name, package) 35 level += 1 36 name = _resolve_name(name[level:], package, level) ---> 37 __import__(name) 38 return sys.modules[name] ImportError: No module named _op25_swig There is a file called /opt/local/lib/python2.7/site-packages/op25/_op25_swig.so so I don't know why it can't find it :( I tried renaming it from .so to .dylib but it still can't find it. I note that some of the GNUradio stuff is installed as a .so so..?! :) I have GNURadio installed using Macports and that seems to work fine. Any help appreciated, thanks. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170814/d5cc4111/attachment.htm>