[Cython] Cython problems on OS X Lion

Robert Bradshaw robertwb at math.washington.edu
Sat Sep 10 22:58:11 CEST 2011


I don't have 10.7, but might be able to borrow a computer that does.
This sounds more like a linking/C compilation problem than a Cython
issue though. Do the programs in the Cython's demos directory work for
you?

On Fri, Sep 9, 2011 at 3:09 PM, Wes McKinney <wesmckinn at gmail.com> wrote:
> Multiple users have reporting being unable to get the Cython
> extensions in pandas to work:
>
> http://github.com/wesm/pandas
>
> Here is the traceback:
>
> In [1]: import pandas
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call last)
> /Users/fonnescj/<ipython-input-1-d6ac987968b6> in <module>()
> ----> 1 import pandas
> /Library/Python/2.7/site-packages/pandas-0.4.0.dev_a2c7284_20110905-py2.7-macosx-10.7-x86_64.egg/pandas/__init__.py
> in <module>()
> 10 from pandas.info import __doc__
> 11
> ---> 12 from pandas.core.api import *
> 13 from pandas.core.common import set_printoptions
> 14 from pandas.io.parsers import read_csv, read_table, ExcelFile
> /Library/Python/2.7/site-packages/pandas-0.4.0.dev_a2c7284_20110905-py2.7-macosx-10.7-x86_64.egg/pandas/core/api.py
> in <module>()
>  6 import pandas.core.datetools as datetools
>  7
> ----> 8 from pandas.core.common import isnull, notnull, set_printoptions
>  9 from pandas.core.index import Index, Factor, MultiIndex
> 10 from pandas.core.daterange import DateRange
> /Library/Python/2.7/site-packages/pandas-0.4.0.dev_a2c7284_20110905-py2.7-macosx-10.7-x86_64.egg/pandas/core/common.py
> in <module>()
>  9 import numpy as np
> 10
> ---> 11 import pandas._tseries as _tseries
> 12
> 13 # XXX: HACK for NumPy 1.5.1 to suppress warnings
> ImportError: dynamic module does not define init function (init_tseries)
>
> Anyone on the Cython dev team have a 10.7 Lion machine to help me
> debug this? I haven't had time to backup and upgrade my laptop yet. As
> far as I can tell this is the only platform which has problems-- OS X
> <= 10.6, Windows 32/64, Linux 64-bit all work fine.
>
> Are there any known issues with Lion?
>
> Thanks,
> Wes
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> http://mail.python.org/mailman/listinfo/cython-devel
>


More information about the cython-devel mailing list