Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't Install Pandas

67 views
Skip to first unread message

ryguy7272

unread,
Jul 19, 2015, 11:05:46 PM7/19/15
to
Hello experts. I odwnloaded Pandas, and put it here.
C:\Python34\Scripts\pandas-0.16.2

Then, I ran this in what most people call the c-prompt, but I call it the 'Python 3.4.3 Shell'
"C:\Python34\Scripts\pandas-0.16.2>" "pip install 'setup.py'"

It seems like everything ran fine, so I try this.
import pandas as pd

Then I get this error.
Traceback (most recent call last):
File "<pyshell#12>", line 1, in <module>
import pandas as pd
ImportError: No module named 'pandas'

Any idea what I'm doing wrong?


I tried to follow the instructions here.
https://pip.pypa.io/en/latest/installing.html


That doesn't work either.
python get-pip.py
SyntaxError: invalid syntax

I won't even ask the most obvious question, because I guess it's impossible to do. Rather, can someone please help me to get this working?

Thanks.

ryguy7272

unread,
Jul 19, 2015, 11:25:38 PM7/19/15
to
Well, I got everything to install on the cmd window, but I still can't run anything in the Shell. Here's two simple examples.

import numpy as np
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import numpy as np
ImportError: No module named 'numpy'
>>> import pandas as pd
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import pandas as pd
ImportError: No module named 'pandas'

According to what I saw in the cmd window, these two things were installed. Nevertheless, they don't run in the Shell.

I guess I spend 95% of my time trying to import stuff, and about 5% of my time doing something interesting or useful with Python.

Chris Angelico

unread,
Jul 19, 2015, 11:37:51 PM7/19/15
to pytho...@python.org
On Mon, Jul 20, 2015 at 1:05 PM, ryguy7272 <ryans...@gmail.com> wrote:
> Hello experts. I odwnloaded Pandas, and put it here.
> C:\Python34\Scripts\pandas-0.16.2
>
> Then, I ran this in what most people call the c-prompt, but I call it the 'Python 3.4.3 Shell'
> "C:\Python34\Scripts\pandas-0.16.2>" "pip install 'setup.py'"
>
> It seems like everything ran fine

Firstly, why would you call it the Python shell? It isn't.

Secondly, what gave you the idea that everything ran fine? That is not
the command you would use to install something you've already
downloaded, nor is it a command that will successfully download and
install a package using pip.

(Thirdly, what's with the extraneous quotes all over the place?)

I suggest you start by learning how to use pip to install packages. If
that gives you trouble, *ask for help with pip*, do NOT just say
"everything ran fine" and then point out that importing didn't work
(which is proof that everything did NOT run fine with the install).

If you're going to take a hostile attitude toward Python, *and* waste
our time with the way you ask questions, you'll quickly find that
people will just delete your posts and move on, which I was just about
to do.

ChrisA

ryguy7272

unread,
Jul 20, 2015, 10:51:21 PM7/20/15
to
On Sunday, July 19, 2015 at 11:05:46 PM UTC-4, ryguy7272 wrote:
Ok. Back to the basics.
Thanks.

Chris Angelico

unread,
Jul 20, 2015, 10:57:05 PM7/20/15
to pytho...@python.org
If by "basics" you mean this, then yes.

http://www.catb.org/esr/faqs/smart-questions.html

ChrisA
0 new messages