[New-bugs-announce] [issue26054] Unable to run scripts: idle3 -r script.py

David Jackson report at bugs.python.org
Fri Jan 8 21:44:40 EST 2016


New submission from David Jackson:

[Raspberry Jessie] Idle3(4.2]
If I open a idle3 shell (from menu) and enter >>import pandas as pd it accepts the command, but if I trying and run it from the shell>> idle3 -r script.py I get the following errors:

Traceback (most recent call last):
  File "test.py", line 1, in <module>
    import pandas as pd
  File "/home/pi/python/pandas.py", line 3, in <module>
    from pandas_datareader import data, wb
  File "/usr/local/lib/python3.4/dist-packages/pandas_datareader-0.2.1-py3.4.egg/pandas_datareader/__init__.py", line 3, in <module>
    from .data import (get_components_yahoo, get_data_famafrench, get_data_google, get_data_yahoo,
  File "/usr/local/lib/python3.4/dist-packages/pandas_datareader-0.2.1-py3.4.egg/pandas_datareader/data.py", line 7, in <module>
    from pandas_datareader.google.daily import GoogleDailyReader
  File "/usr/local/lib/python3.4/dist-packages/pandas_datareader-0.2.1-py3.4.egg/pandas_datareader/google/daily.py", line 1, in <module>
    from pandas_datareader.base import _DailyBaseReader
  File "/usr/local/lib/python3.4/dist-packages/pandas_datareader-0.2.1-py3.4.egg/pandas_datareader/base.py", line 9, in <module>
    from pandas import to_datetime
ImportError: cannot import name 'to_datetime'

----------
components: IDLE
messages: 257792
nosy: davidjackson1955
priority: normal
severity: normal
status: open
title: Unable to run scripts: idle3 -r script.py
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26054>
_______________________________________


More information about the New-bugs-announce mailing list