very weird pandas behavior
Dave Angel
davea at davea.name
Sun Dec 21 09:19:20 EST 2014
On 12/21/2014 07:44 AM, ryguy7272 wrote:
> On Saturday, December 20, 2014 10:46:40 AM UTC-5, ryguy7272 wrote:
>> I downloaded pandas and put it in my python directory, then, at the C-prompt, I ran this:
>> "pip install pandas"
>
> Thanks Steven. I just tried what you recommended, and got this.
>
>>>> import sys
>>>> print(sys.version)
> 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)]
>>>> print(sys.path)
> ['C:\\Python27\\Lib\\idlelib', 'C:\\Python27\\lib\\site-packages\\requests-2.4.3-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\html-1.16-py2.7.egg', 'C:\\Python34', 'C:\\WINDOWS\\SYSTEM32\\python27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages']
>>>>
>
>
> I also got this.
>
> Microsoft Windows [Version 6.3.9600]
> (c) 2013 Microsoft Corporation. All rights reserved.
>
> C:\Users\Ryan>python
> Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] on win
> 32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> python27
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> NameError: name 'python27' is not defined
python27 and python33 are Windows commands, not Python ones. You run
them at the cmd prompt. Steven suggested those to see what other
versions of Python you have installed.
And of course the other question is what directory did pandas get
installed to. You can find that out with the find command, except that
you're on Windows. So I think you'd have to use dir /s
--
DaveA
More information about the Python-list
mailing list