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

2016-01-08 Thread Zachary Ware

Zachary Ware added the comment:

Glad you got it figured out.  It's a situation that can be tricky to debug, as 
your eyes tend to gloss over the paths given in the traceback.  It's much 
easier to figure out after you've been bitten the first time, though!

--
nosy: +zach.ware
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2016-01-08 Thread David Jackson

David Jackson added the comment:

The problem was I had a pandas.py and a pandas.pyc in my home directory. after 
deleting them everything seems to be working.

--
resolution:  -> not a bug

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2016-01-08 Thread David Jackson

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 
import pandas as pd
  File "/home/pi/python/pandas.py", line 3, in 
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 
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 
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 
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 
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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com