nwhitehead / pineapple

http://nwhitehead.github.io/pineapple/
Other
351 stars 26 forks source link

Error importing pandas #56

Closed srng closed 8 years ago

srng commented 8 years ago

Hi, I'm running Pineapple 0.8 with Python 3. When I try to use pandas...

import pandas as pd
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-4-af55e7023913> in <module>()
----> 1 import pandas as pd

/Applications/Pineapple.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pandas/__init__.py in <module>()
     43 import pandas.core.config_init
     44 
---> 45 from pandas.core.api import *
     46 from pandas.sparse.api import *
     47 from pandas.stats.api import *

/Applications/Pineapple.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pandas/core/api.py in <module>()
      7 from pandas.core.common import isnull, notnull
      8 from pandas.core.categorical import Categorical
----> 9 from pandas.core.groupby import Grouper
     10 from pandas.core.format import set_eng_float_format
     11 from pandas.core.index import Index, CategoricalIndex, Int64Index, Float64Index, MultiIndex

/Applications/Pineapple.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pandas/core/groupby.py in <module>()
     13 from pandas.core.base import PandasObject
     14 from pandas.core.categorical import Categorical
---> 15 from pandas.core.frame import DataFrame
     16 from pandas.core.generic import NDFrame
     17 from pandas.core.index import Index, MultiIndex, CategoricalIndex, _ensure_index

/Applications/Pineapple.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pandas/core/frame.py in <module>()
     38                                    create_block_manager_from_arrays,
     39                                    create_block_manager_from_blocks)
---> 40 from pandas.core.series import Series
     41 from pandas.core.categorical import Categorical
     42 import pandas.computation.expressions as expressions

/Applications/Pineapple.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pandas/core/series.py in <module>()
     39 from pandas.compat import zip, u, OrderedDict, StringIO
     40 
---> 41 import pandas.core.ops as ops
     42 from pandas.core.algorithms import select_n
     43 

AttributeError: module 'pandas' has no attribute 'core'

The following StackOverflow question might be related: http://stackoverflow.com/questions/34564249/pandas-attributeerror-module-object-has-no-attribute-version

srng commented 8 years ago

Reinstalled Pineapple and the problem resolved itself...