|
楼主 |
发表于 2023-11-28 15:46:55
|
显示全部楼层
Microsoft Windows [Version 10.0.22621.2715]
(c) Microsoft Corporation. All rights reserved.
C:\Users\86132>pip3 install pygame
Requirement already satisfied: pygame in c:\users\86132\appdata\local\programs\python\python312\lib\site-packages (2.5.2)
[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
C:\Users\86132>python
Python 3.12.0 (tags/v3.12.0:0fb18b0, Oct 2 2023, 13:03:39) [MSC v.1935 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\pygame.py", line 1
SyntaxError: invalid syntax
^^^^^^
SyntaxError: invalid syntax |
|