Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'url:pypi': 0.03; 'yet.': 0.04; 'great.': 0.07; 'importerror:': 0.07; 'installed.': 0.07; 'responding': 0.07; 'sql,': 0.09; 'try:': 0.09; 'uninstalled': 0.09; 'vba,': 0.09; 'works.': 0.09; 'python': 0.11; 'suggest': 0.14; '2.7': 0.14; 'cmd': 0.16; 'fine.': 0.16; 'numpy': 0.16; 'pip?': 0.16; 'reinstalled': 0.16; 'stuff,': 0.16; 'sys.path': 0.16; 'url:pip': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'module': 0.19; 'things.': 0.19; 'entered': 0.20; 'import': 0.22; 'shell': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'comparing': 0.24; 'errors.': 0.24; 'sorry,': 0.24; 'versions': 0.24; "haven't": 0.24; 'looks': 0.24; 'this:': 0.26; 'downloaded': 0.26; 'header :In-Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'idea': 0.28; 'have,': 0.30; "i'm": 0.30; '"",': 0.31; 'directory,': 0.31; 'file': 0.32; 'open': 0.33; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'checking': 0.33; 'guess': 0.33; 'could': 0.34; "can't": 0.35; 'advice': 0.35; 'december': 0.35; 'something': 0.35; 'but': 0.35; 'version': 0.36; 'right?': 0.36; 'doing': 0.36; 'url:org': 0.36; 'error.': 0.37; 'two': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'little': 0.38; 'short': 0.38; 'anything': 0.39; 'recent': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'read': 0.60; 'simple,': 0.60; 'then,': 0.60; 'show': 0.63; 'pick': 0.64; 'more': 0.64; 'here': 0.66; '20,': 0.68; 'received:74.208': 0.68; 'dense': 0.84; 'have?': 0.84; 'preventing': 0.84; 'shell,': 0.91; 'subject:very': 0.91; 'confidence': 0.95 Date: Sun, 21 Dec 2014 20:40:00 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: very weird pandas behavior References: <7a83719d-f39c-49ad-8df5-3d3d19c127b1@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:WI/+3knjqoe9NZgTzS9+GaA1dEnrZumUkROVGn8Btb6 K45/7qaqwHnbn+SI8VSzkfb2wSWJ/XL6cJ8TVakjpRtti6BimK tc2EVnyahAIFLOzEFwO0kF3ffNmG7EDSl3pnoA0wPv8+wdFGXf eGazpUWSj5lisd0IvLbMrTcaKsP7RpyWbDUbqIBKwdFroVviU3 yNv9BoaYmEKTKOYTNLeJudt3CA0Fuhy9uXUUdu/MnNUhiDll8x iTc2gVno8n2bTdHm3dmzzJP37Cacvbvicunfdx7S5m3QLKGRXv eAQVUBUl76pZrO3FQLj6tWYWsCoCAG0Z6JFjscsD6lXJDBgzSj iqDeYjp8ylOJf0bwfSr0= X-UI-Out-Filterresults: notjunk:1; X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 71 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419212417 news.xs4all.nl 2834 [2001:888:2000:d::a6]:47652 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82736 On 12/21/2014 08:01 PM, 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" >> >> It looks like everything downloaded and installed fine. Great. >> >> Now, in Python Shell, I enter this: >> import pandas as pd >> >> I get this error. >> Traceback (most recent call last): >> File "", line 1, in >> import pandas as pd >> ImportError: No module named pandas >> >> >> Any idea what I'm doing wrong? > > > > Sorry for being so dense here guys!! I do tons and tons of work with VBA, VB, C#, SQL, R, Matlab, and a little work with Pascal. > I guess that's preventing me from understanding how Python works. Sorry, but I just don't understand this thing. Have you tried reading and responding to the advice you get? Or do you just pick and choose? > I uninstalled Python27 and just reinstalled it. What did you do with the other Python versions that you still haven't said whether you have? > I open the cmd prompt, and entered two short commands: 'pip install numpy' & 'pip install pandas'. And they got "command not found" errors, right? After all, you haven't installed PIP yet. Or if you have, it might be left over from some other version of Python. Have you read anything about PIP? Have you read the web page: https://pypi.python.org/pypi/pip/ Perhaps you could try: pip show --files numpy and see where they got installed. Are they the same place as the Python 2.7 you just installed? > Then, I got to Python Shell and enter this: 'import numpy' & 'import pandas'. immediately I get errors. > > Traceback (most recent call last): > File "", line 1, in > import numpy > ImportError: No module named numpy > > Traceback (most recent call last): > File "", line 1, in > import pandas > ImportError: No module named pandas > > I guess if I can't do something simple, I can't do anything complex...or anything at all. > If I had any confidence that you were always running the same version of Python, from the same installation, then I could suggest more stuff, like checking out sys.path and comparing it to the place where PIP installed things. -- DaveA