ImportError: dlopen Symbol not found: __Py_FalseStruct

Issue #256 invalid
Robert Nichols
created an issue

When I try to use rpy2, I can import the module its self into python perfectly fine. But when I try to import rpy2.robjects, I get this error:

*ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/rpy2/rinterface/_rinterface.so, 2): Symbol not found: __Py_FalseStruct
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/rpy2/rinterface/_rinterface.so
  Expected in: flat namespace
 in /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/rpy2/rinterface/_rinterface.so*

I am using python 2.7 on a mac (I included the python 3.4 site packages into the 2.7 python path). I really have no idea how to even start and try to fix this problem, the most I could do was uninstall and then reinstall rpy2 but that did not work. Any help will be greatly appreciated. Thank you, Bob

Comments (3)

  1. Log in to comment