Skip to content

ImportError: No module named tseries #82

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

Closed
tomasholderness opened this issue Jul 28, 2011 · 3 comments
Closed

ImportError: No module named tseries #82

tomasholderness opened this issue Jul 28, 2011 · 3 comments

Comments

@tomasholderness
Copy link

Hi,

I downloaded the 0.3.0 package from pypi, installed using "sudo python setup.py install".

The install was OK, but in Python when doing "import pandas" I get the following error:

"ImportError: No module named tseries" (full output from Ipython below).

This was using Ubuntu 10.04 (32),

Thanks.

In [1]: import pandas

ImportError Traceback (most recent call last)

pandas-0.3.0/ in ()

pandas-0.3.0/pandas/init.py in ()
10 from pandas.info import doc
11
---> 12 from pandas.core.api import *
13 from pandas.io.parsers import parseCSV, parseText, parseExcel
14 from pandas.stats.api import *

pandas-0.3.0/pandas/core/api.py in ()
6 import pandas.core.datetools as datetools
7
----> 8 from pandas.core.common import isnull, notnull
9 from pandas.core.index import Index
10 from pandas.core.daterange import DateRange

pandas-0.3.0/pandas/core/common.py in ()
8 import numpy as np
9
---> 10 import pandas.lib.tseries as tseries
11
12 # XXX: HACK for NumPy 1.5.1 to suppress warnings

ImportError: No module named tseries

@wesm
Copy link
Member

wesm commented Jul 28, 2011

It looks like you're importing it from the source directory? try cd'ing out of there and importing pandas then.

@tomasholderness
Copy link
Author

Well spotted, that works. Thanks for the quick response.

@wesm
Copy link
Member

wesm commented Jul 28, 2011

No problem...if you feel up to it you might consider installing the latest version from git (you'll have to install Cython first). I hope to get a release out within the next month so you can certainly wait for the "official" version too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants