在我的计算机上配置了Canopy的解释器没有PyGame(这让我很伤心-我在PyCharm上一直收到“不响应”错误,因此打算在其他IDE上尝试使用)想要将其使用的解释器更改为与Pygame一起使用的解释器-但无法找到一种方法来实现。
To your original issue (running Pygame in Canopy), you can install PyGame in Canopy Python following these guidelines: https://support.enthought.com/entries/23389761-Installing-packages-into-Canopy-Python-from-the-command-line
(tl;dr -- open a Canopy Command Prompt or Canopy Terminal from the Tools menu and type pip install pygame
)
To your immediate question -- changing the interpreter used by Canopy is not currently supported. It will be supported in the Canopy GUI in a forthcoming version (currently targeted for version 2.2).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.