Skipper, first thanks for your help and prompt replies.
I should have been more clear. The import works fine if I don't change
anything in the __init__ file, and I have the same init file as the
ones you link to. Btw, I checked the build output and it was
successful. My main problem is that I cannot access the pd.io.data
module to download time series from yahoo. I therefore added the line
"from pandas.io.data import DataSource, Options" to the main __init__
file hoping that would solve the problem.
Back to my main problem, how do you get python to import DataReader,
for which the code exists but somehow is not being imported. And what
is the reason for this?
Thanks!
On Nov 24, 3:20 pm, Skipper Seabold <
jsseab...@gmail.com> wrote:
> On Sat, Nov 24, 2012 at 3:10 PM, TD <
tansude...@gmail.com> wrote:
> > Pretty sure.. I've followed the instructions here:
>
> >
http://pandas.pydata.org/pandas-docs/stable/install.html#installing-f...
>
> > I'v checked out from github, and built_ext then installed using python
> > setup.py install.
>
> > Here's the version string:
>
> > pd.__version__
> > Out[2]: '0.9.2.dev-f64ccf0'
>
> Not sure how you imported this if you can't import pandas?
>
>
>
> > Before checking out the code I obtained binaries for 0.9.1 from
> > Gohlke's web site but that didn't let me import pd.io.data either..
> > Are you saying you have the exact same configuration and it works for
> > you? Mine is a clean install so I cannot see what can go wrong.
>
> I do not have the exact same configuration, but I don't see that import in
> the pandas/__init__.py that's in your traceback in either master or v0.9.1.
>
>
https://github.com/pydata/pandas/blob/master/pandas/__init__.py#L33https://github.com/pydata/pandas/blob/v0.9.1/pandas/__init__.py