I'm trying to use the pyxgrid module but I'm running into some
problems. Although I've installed:
easy_install pyobjc-core==2.3
easy_install pyobjc
when I try "import xg" I receive:
This module requires PyObjC.
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/Users/fpaolo/packages/<ipython console> in <module>()
/Library/Frameworks/EPD64.framework/Versions/6.3/lib/python2.6/site-packages/xg.py
in <module>()
115 except ImportError, e:
116 print "This module requires PyObjC."
--> 117 raise e
118
119 #####################################################################
ImportError: dlopen(/Library/Frameworks/EPD64.framework/Versions/6.3/lib/python2.6/site-packages/pyobjc_core-2.3-py2.6-macosx-10.5-x86_64.egg/objc/_objc.so,
2): Symbol not found: _PyMac_Error
Referenced from:
/Library/Frameworks/EPD64.framework/Versions/6.3/lib/python2.6/site-packages/pyobjc_core-2.3-py2.6-macosx-10.5-x86_64.egg/objc/_objc.so
Expected in: flat namespace
in /Library/Frameworks/EPD64.framework/Versions/6.3/lib/python2.6/site-packages/pyobjc_core-2.3-py2.6-macosx-10.5-x86_64.egg/objc/_objc.so
Any idea what the problem is?
Thank you for any help!
--
Fernando Paolo
Institute of Geophysics & Planetary Physics
Scripps Institution of Oceanography
University of California, San Diego
9500 Gilman Drive
La Jolla, CA 92093-0225
Sorry about the delay. Can you just try to import pyobjc from the
python prompt to see if that works. It looks like the following:
* PyObjC is not actually installed properly.
* You have 2 versions of Python and pyobjc is installed in the other python.
Can you investigate these things and get back to us? "which python"
might be of help.
Cheers,
Brian
> --
> You received this message because you are subscribed to the Google Groups "PyXG" group.
> To post to this group, send email to py...@googlegroups.com.
> To unsubscribe from this group, send email to pyxg+uns...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pyxg?hl=en.
>
>
--
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgra...@calpoly.edu
elli...@gmail.com