Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82719

Re: very weird pandas behavior

Date 2014-12-21 09:19 -0500
From Dave Angel <davea@davea.name>
Subject Re: very weird pandas behavior
References <7a83719d-f39c-49ad-8df5-3d3d19c127b1@googlegroups.com> <9ca0491d-6589-4184-8487-68527dc9469b@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.17093.1419171581.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-20 07:46 -0800
  Re: very weird pandas behavior Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-21 13:22 +1100
  Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 04:44 -0800
    Re: very weird pandas behavior Dave Angel <davea@davea.name> - 2014-12-21 09:19 -0500
  Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 17:01 -0800
    Re: very weird pandas behavior Chris Angelico <rosuav@gmail.com> - 2014-12-22 12:15 +1100
    Re: very weird pandas behavior Dave Angel <davea@davea.name> - 2014-12-21 20:40 -0500
  Re: very weird pandas behavior oldknackers@googlemail.com - 2014-12-21 17:25 -0800
  Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 18:07 -0800
    Re: very weird pandas behavior Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-22 02:51 +0000
  Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 18:09 -0800
  Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 18:25 -0800
    Re: very weird pandas behavior Chris Angelico <rosuav@gmail.com> - 2014-12-22 13:50 +1100
    Re: very weird pandas behavior Rustom Mody <rustompmody@gmail.com> - 2014-12-21 18:53 -0800
      Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-22 00:16 -0800
    Re: very weird pandas behavior Steven D'Aprano <steve@pearwood.info> - 2014-12-22 04:11 +0000
    Re: very weird pandas behavior Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-22 15:50 -0500
  Re: very weird pandas behavior oldknackers@googlemail.com - 2014-12-21 22:21 -0800
  Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-22 07:55 -0800
    Re: very weird pandas behavior Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-22 16:39 +0000
    Re: very weird pandas behavior Dave Angel <davea@davea.name> - 2014-12-22 11:47 -0500
    Re: very weird pandas behavior Chris Angelico <rosuav@gmail.com> - 2014-12-23 04:29 +1100
    Re: very weird pandas behavior Rick Johnson <rantingrickjohnson@gmail.com> - 2014-12-22 14:15 -0800
      Re: very weird pandas behavior Chris Angelico <rosuav@gmail.com> - 2014-12-23 09:33 +1100
      Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-23 01:35 -0800
        Re: very weird pandas behavior Rick Johnson <rantingrickjohnson@gmail.com> - 2014-12-23 14:35 -0800
          Re: very weird pandas behavior Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-24 13:23 +1100
            Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-24 00:00 -0800
            Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-24 06:19 -0800
    Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-26 00:59 -0800

csiph-web