Pandas installation Help :)

241 views
Skip to first unread message

Briti Sundar Deb

unread,
Jan 31, 2015, 2:50:34 AM1/31/15
to pyd...@googlegroups.com

Hi .. I have some issue in running pandas package in python 3.4 on windows.
Here is the issue when I try to import pandas it shows a strange error. It seems to be some issue with the six package which i have also installed version 1.2.0 ...Here is the code ................
####################################3
import pandas
cannot import name 'string_types'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python34\lib\site-packages\pandas\__init__.py", line 6, in <module>
from . import hashtable, tslib, lib
File "tslib.pyx", line 37, in init pandas.tslib (pandas\tslib.c:62410)
File "C:\Python34\lib\site-packages\dateutil\tz.py", line 16, in <module>
from six import string_types, PY3
ImportError: cannot import name 'string_types'

######################################

Any insight on this issue .. Thnx in advanced !

Mark Lawrence

unread,
Jan 31, 2015, 9:28:09 AM1/31/15
to pyd...@googlegroups.com
On 31/01/2015 07:50, Briti Sundar Deb wrote:
> Hi .. I have some issue in running pandas package in python 3.4 on windows.
> Here is the issue when I try to import pandas it shows a strange error.
> It seems to be some issue with the six package which i have also
> installed version 1.2.0 ...Here is the code ................
> ####################################3
> import pandas
> cannot import name 'string_types'
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "C:\Python34\lib\site-packages\pandas\__init__.py", line 6, in <module>
> from . import hashtable, tslib, lib
> File "tslib.pyx", line 37, in init pandas.tslib (pandas\tslib.c:62410)
> File "C:\Python34\lib\site-packages\dateutil\tz.py", line 16, in <module>
> *from six import string_types, PY3
> ImportError: cannot import name 'string_types' *
>
> ######################################
>
> Any insight on this issue .. Thnx in advanced !
>
> --

Pip comes preinstalled with Python 3.4 so use it to do your
installations as it looks after all the dependencies. If you still have
problems because you don't have a compiler installed this site
http://www.lfd.uci.edu/~gohlke/pythonlibs/ is awesome. You can safely
ignore the header "Unofficial Windows Binaries for Python Extension
Packages", I've been using downloads from there for years and never once
had a problem.

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Joris Van den Bossche

unread,
Jan 31, 2015, 9:58:33 AM1/31/15
to pyd...@googlegroups.com
How did you install pandas?

If you are on Windows, I recommend using a distribution that includes pandas like Anaconda, Canopy or PythonXY

--
You received this message because you are subscribed to the Google Groups "PyData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pydata+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Briti Sundar Deb

unread,
Feb 1, 2015, 2:54:51 AM2/1/15
to pyd...@googlegroups.com, bream...@yahoo.co.uk
Hi ...Thnx  for your  reply ... It  works fine after I installed it with  pip .... Pip  seems to be a great  tool :)
Reply all
Reply to author
Forward
0 new messages