very weird pandas behavior

Mark Lawrence breamoreboy at yahoo.co.uk
Sun Dec 21 21:51:45 EST 2014


On 22/12/2014 02:07, 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 "<pyshell#19>", line 1, in <module>
>>      import pandas as pd
>> ImportError: No module named pandas
>>
>>
>> Any idea what I'm doing wrong?
>
>
>
> Thanks for being patient with me everyone.
>
>
> I just tried this:
> C:\Users\Ryan>pip --version
> pip 1.5.6 from C:\Python27\lib (python 2.7)
>
> C:\Users\Ryan>python --version
> Python 2.7
>
>
> I just tried 'pip show --files numpy' in the command prompt; nothing happened.
>
>
> I'll read that link now.
>
>
> I know my eyes are not very good...my vision is quite poor...but I'm trying to read this stuff, and I'm trying to figure out what's going on here...
>

Try 'pip --help'.

c:\cpython>pip --help

Usage:
   pip <command> [options]

Commands:
   install                     Install packages.
   uninstall                   Uninstall packages.
   freeze                      Output installed packages in requirements 
format.
   list                        List installed packages.
   show                        Show information about installed packages.
   search                      Search PyPI for packages.
   wheel                       Build wheels from your requirements.
   zip                         DEPRECATED. Zip individual packages.
   unzip                       DEPRECATED. Unzip individual packages.
   bundle                      DEPRECATED. Create pybundles.
   help                        Show help for commands.

General Options:
   -h, --help                  Show help.
   -v, --verbose               Give more output. Option is additive, and 
can be
                               used up to 3 times.
   -V, --version               Show version and exit.
   -q, --quiet                 Give less output.
   --log-file <path>           Path to a verbose non-appending log, that 
only
                               logs failures. This log is active by 
default at
                               C:\Users\Mark\pip\pip.log.
   --log <path>                Path to a verbose appending log. This log is
                               inactive by default.
   --proxy <proxy>             Specify a proxy in the form
                               [user:passwd@]proxy.server:port.
   --timeout <sec>             Set the socket timeout (default 15 seconds).
   --exists-action <action>    Default action when a path already exists:
                               (s)witch, (i)gnore, (w)ipe, (b)ackup.
   --cert <path>               Path to alternate CA bundle.

Having digested the above try 'pip list'.

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

Mark Lawrence




More information about the Python-list mailing list