Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: dynamic module does not define init function (PyInit__tuttle) #104

Open
cbenhagen opened this issue May 29, 2014 · 2 comments

Comments

@cbenhagen
Copy link

python3 buttleApp.py
Traceback (most recent call last):
  File "buttleApp.py", line 12, in <module>
    import buttleofx
  File "/Users/ben/Projects/ButtleOFX/buttleofx/__init__.py", line 1, in <module>
    from .main import ButtleApp
  File "/Users/ben/Projects/ButtleOFX/buttleofx/main.py", line 20, in <module>
    from pyTuttle import tuttle
  File "/usr/local/Cellar/tuttleofx/0.9.0-dev/python/pyTuttle/tuttle.py", line 32, in <module>
    _tuttle = swig_import_helper()
  File "/usr/local/Cellar/tuttleofx/0.9.0-dev/python/pyTuttle/tuttle.py", line 28, in swig_import_helper
    _mod = imp.load_module('_tuttle', fp, pathname, description)
  File "/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: dynamic module does not define init function (PyInit__tuttle)

My system:

OSX 10.9.3
Python 3.4.1
PyQt 5.3
TuttleOFX 0.9.0-dev
echo $TUTTLEOFX_BIN $PYTHONPATH $OFX_PLUGIN_PATH
/usr/local/Cellar/tuttleofx/0.9.0-dev /usr/local/Cellar/tuttleofx/0.9.0-dev/python /usr/local/Cellar/tuttleofx/0.9.0-dev/plugin
@fcastan
Copy link

fcastan commented May 30, 2014

Could you try to import tuttle in python outside of buttle?

/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/bin/python3.4
"
from pyTuttle import tuttle
"

@cbenhagen
Copy link
Author

same:

python3
Python 3.4.1 (default, May 19 2014, 13:10:29)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyTuttle import tuttle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/Cellar/tuttleofx/0.9.0-dev/python/pyTuttle/tuttle.py", line 32, in <module>
    _tuttle = swig_import_helper()
  File "/usr/local/Cellar/tuttleofx/0.9.0-dev/python/pyTuttle/tuttle.py", line 28, in swig_import_helper
    _mod = imp.load_module('_tuttle', fp, pathname, description)
  File "/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: dynamic module does not define init function (PyInit__tuttle)

@aoblet aoblet self-assigned this Jul 7, 2015
@aoblet aoblet assigned fabiencastan and unassigned aoblet Jul 7, 2015
@aoblet aoblet added this to the V3 - Beta milestone Jul 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants