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


Groups > comp.lang.python > #94197 > unrolled thread

Can't Install Pandas

Started byryguy7272 <ryanshuell@gmail.com>
First post2015-07-19 20:05 -0700
Last post2015-07-21 12:56 +1000
Articles 5 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Can't Install Pandas ryguy7272 <ryanshuell@gmail.com> - 2015-07-19 20:05 -0700
    Re: Can't Install Pandas ryguy7272 <ryanshuell@gmail.com> - 2015-07-19 20:25 -0700
    Re: Can't Install Pandas Chris Angelico <rosuav@gmail.com> - 2015-07-20 13:36 +1000
    Re: Can't Install Pandas ryguy7272 <ryanshuell@gmail.com> - 2015-07-20 19:51 -0700
      Re: Can't Install Pandas Chris Angelico <rosuav@gmail.com> - 2015-07-21 12:56 +1000

#94197 — Can't Install Pandas

Fromryguy7272 <ryanshuell@gmail.com>
Date2015-07-19 20:05 -0700
SubjectCan't Install Pandas
Message-ID<5ef13508-ad29-4c51-99dc-6ab94c44945e@googlegroups.com>
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.

[toc] | [next] | [standalone]


#94199

Fromryguy7272 <ryanshuell@gmail.com>
Date2015-07-19 20:25 -0700
Message-ID<1226260c-42a6-4e4c-af1e-8c251202cb42@googlegroups.com>
In reply to#94197
On Sunday, July 19, 2015 at 11:05:46 PM UTC-4, ryguy7272 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, 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.


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.

[toc] | [prev] | [next] | [standalone]


#94201

FromChris Angelico <rosuav@gmail.com>
Date2015-07-20 13:36 +1000
Message-ID<mailman.758.1437363410.3674.python-list@python.org>
In reply to#94197
On Mon, Jul 20, 2015 at 1:05 PM, ryguy7272 <ryanshuell@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

[toc] | [prev] | [next] | [standalone]


#94252

Fromryguy7272 <ryanshuell@gmail.com>
Date2015-07-20 19:51 -0700
Message-ID<12a01cc0-ac0a-4b75-bce3-767ed81b623b@googlegroups.com>
In reply to#94197
On Sunday, July 19, 2015 at 11:05:46 PM UTC-4, ryguy7272 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, 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.

Ok.  Back to the basics.
Thanks.

[toc] | [prev] | [next] | [standalone]


#94254

FromChris Angelico <rosuav@gmail.com>
Date2015-07-21 12:56 +1000
Message-ID<mailman.797.1437447410.3674.python-list@python.org>
In reply to#94252
On Tue, Jul 21, 2015 at 12:51 PM, ryguy7272 <ryanshuell@gmail.com> wrote:
> On Sunday, July 19, 2015 at 11:05:46 PM UTC-4, ryguy7272 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, 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.
>
> Ok.  Back to the basics.
> Thanks.

If by "basics" you mean this, then yes.

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

ChrisA

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web