Trouble trying to get started with pygame

2019-10-31 Thread originallmoney
It's been years since I've done anything with Python, and it wasn't a language 
I was terribly familiar with even then. I'm using Python 3.8 on my Windows 7 
laptop. Python itself works so far as I can tell. I can get it to import pip 
without problems, but, when I try to get going with pygame, I hit a roadblock.

I have pygame 1.9.6.tar.gz. Apparently, I don't have the means of unzipping it, 
yet, I think I've seen things on other forums suggesting that Python can do 
that for me. Is that true?

I've been trying to use "pip install" (Written just like that, minus the 
quotes, of course), yet, it tells me that's a syntax error. 

Is there a way of inputting this that I'm not aware of? I've seen various 
versions of people calling the command, with things like "pip.install" or "-m 
pip install -U pygame -user" or something like that, are THOSE what I should be 
trying or...am I completely off-base right now? 

Any help would be appreciated, as I'm losing patience with it at the moment.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-01 Thread originallmoney
On Friday, November 1, 2019 at 1:05:35 AM UTC-4, MRAB wrote:
> On 2019-11-01 03:47, originallmo...@gmail.com wrote:
> > It's been years since I've done anything with Python, and it wasn't a 
> > language I was terribly familiar with even then. I'm using Python 3.8 on my 
> > Windows 7 laptop. Python itself works so far as I can tell. I can get it to 
> > import pip without problems, but, when I try to get going with pygame, I 
> > hit a roadblock.
> > 
> > I have pygame 1.9.6.tar.gz. Apparently, I don't have the means of unzipping 
> > it, yet, I think I've seen things on other forums suggesting that Python 
> > can do that for me. Is that true?
> > 
> Actually, you do have the means: Python!
> 
> But there's a simpler way.
> 
> > I've been trying to use "pip install" (Written just like that, minus the 
> > quotes, of course), yet, it tells me that's a syntax error.
> > 
> > Is there a way of inputting this that I'm not aware of? I've seen various 
> > versions of people calling the command, with things like "pip.install" or 
> > "-m pip install -U pygame -user" or something like that, are THOSE what I 
> > should be trying or...am I completely off-base right now?
> > 
> Those commands are for the Windows command prompt.
> 
> > Any help would be appreciated, as I'm losing patience with it at the moment.
> > 
> 
> Go to Christoph Gohlke's site at:
> 
>  https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
> 
> Download one of these "wheel" files:
> 
>  pygame‑1.9.6‑cp38‑cp38‑win_amd64.whl for 64-bit
> 
> or:
> 
>  pygame‑1.9.6‑cp38‑cp38‑win32.whl for 32-bit
> 
> At the Windows command prompt type:
> 
>  py -3.8 -m pip install "path/to/wheel"

Does it matter where I place pygame? I was going to put it into my Scripts 
folder, as I'm pretty sure I already have a path that goes there.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-01 Thread originallmoney
I tried what you suggested at the command prompt and (Despite being able to 
open Python from my start menu), it tells me Python isn't installed. 

I'm curious, and, I probably should have mentioned it earlier: I have Python on 
my D drive (Because it has more space). Is THAT why it says Python isn't 
installed? MUST I have it on the C drive?

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-03 Thread originallmoney
On Friday, November 1, 2019 at 11:17:42 PM UTC-4, MRAB wrote:
> On 2019-11-02 02:28, originallmo...@gmail.com wrote:
> > I tried what you suggested at the command prompt and (Despite being able to 
> > open Python from my start menu), it tells me Python isn't installed.
> > 
> > I'm curious, and, I probably should have mentioned it earlier: I have 
> > Python on my D drive (Because it has more space). Is THAT why it says 
> > Python isn't installed? MUST I have it on the C drive?
> > 
> Do you mean that it can't find "py" or that "py" can't find Python?
> 
> If you used the installer to install Python on the D drive, then I'd 
> expect it to just work.

Sorry it took so long, I was working all day Saturday.

Now, to answer your question: It's telling me that "py" can't find Python. 
Specifically, it says "No Installed Pythons Found".
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-03 Thread originallmoney
On Sunday, November 3, 2019 at 9:40:05 PM UTC-5, MRAB wrote:
> On 2019-11-04 01:52, originallmo...@gmail.com wrote:
> > On Friday, November 1, 2019 at 11:17:42 PM UTC-4, MRAB wrote:
> >> On 2019-11-02 02:28, originallmo...@gmail.com wrote:
> >> > I tried what you suggested at the command prompt and (Despite being able 
> >> > to open Python from my start menu), it tells me Python isn't installed.
> >> > 
> >> > I'm curious, and, I probably should have mentioned it earlier: I have 
> >> > Python on my D drive (Because it has more space). Is THAT why it says 
> >> > Python isn't installed? MUST I have it on the C drive?
> >> > 
> >> Do you mean that it can't find "py" or that "py" can't find Python?
> >> 
> >> If you used the installer to install Python on the D drive, then I'd 
> >> expect it to just work.
> > 
> > Sorry it took so long, I was working all day Saturday.
> > 
> > Now, to answer your question: It's telling me that "py" can't find Python. 
> > Specifically, it says "No Installed Pythons Found".
> > 
> I've just tried installing another version of Python on the D drive. It 
> worked for me.
> 
> Did you _install_ it onto drive D?
> 
> When in doubt, uninstall and then re-install again. See if that fixes it.

I uninstalled, then reinstalled. However, when I tried to install pygame, it 
told me: "Neither 'setup.py' nor 'pyproject.toml' found". 

I even made sure the path was right (After I messed it up and it gave me an 
error telling me the path didn't exist). Fixed it. No more path error message, 
still tells me that neither setup nor pyproject were found.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-06 Thread originallmoney
> Can py find Python?
> 
> Did you try to install pygame with:
> 
> py -m pip install pygame

Well, "py -m pip install pygame" has come the closest so far to working. I saw 
it try to load it and everything, but then, it spat out a series of errors, 
but, the primary one seemed to be this:

WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-06 Thread originallmoney
> > Well, "py -m pip install pygame" has come the closest so far to working. I 
> > saw it try to load it and everything, but then, it spat out a series of 
> > errors, but, the primary one seemed to be this:
> > 
> > WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
> >   
> How about downloading the wheel from Christoph Gohlke's site and using 
> pip on that, as I suggested on 2019-11-01?

What's the difference in syntax? Because, I DID notice that it seemed to be 
trying to open the other Pygame I had (The tar.gz version), so, I'm imagining 
there would be some difference somewhere. Or, could I simply switch out the 
tar.gz version with the wheel version inside the folder?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-08 Thread originallmoney
On Thursday, November 7, 2019 at 1:21:37 AM UTC-5, illume wrote:
> Hi,
> 
> either use python 3.7, or use the pre-release of pygame 2.
> py -m pip install pygame==2.0.0.dev6
> 
> We're not going to do a python 3.8 release for pygame 1.9.x
> 
> 
> cheers,

Well, it seems like that did the trick! I got version 3.7.5, and it's telling 
me pygame is installed! Thank you both! This was really irritating me, I 
appreciate your help in figuring this out.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-12 Thread originallmoney
I'm curious: I've been seeing people having multiple pygame programs open at 
once (Where each one is a component of a main program, obviously). If I'm 
making a larger game, do I NEED to do that? I'm assuming I'd need a Visual 
Studio extension for Python in order to do that.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-14 Thread originallmoney
On Tuesday, November 12, 2019 at 7:05:16 PM UTC-5, Terry Reedy wrote:
> On 11/12/2019 2:32 PM, originallmo...@gmail.com wrote:
> > I'm curious: I've been seeing people having multiple pygame programs open 
> > at once (Where each one is a component of a main program, obviously).
> 
> Multiple programs open at once on modern machines is normal.  Do you 
> mean multiple windows for one program?  As is possible with IDLE?
> 
> -- 
> Terry Jan Reedy

Well, the example I was seeing, the person had one window which contained a 
portion of the larger pygame program controlling the display, another for 
controlling the characters, and another for the main program (Plus, I think, 
two others whose purpose I forget). I'm just concerned because, I can't imagine 
that's possible from the command prompt, but, I don't know what they had that 
would allow them to have multiple subprograms open at once in Python. I'm used 
to that in Visual Studio C++, but, I don't know of such a thing for Python.
-- 
https://mail.python.org/mailman/listinfo/python-list