简体   繁体   English

不使用命令行在Python中安装模块

[英]Installing modules in Python without command line

Hi I am going interstate and will only have my laptop with me, I do not have admin rights on it and the use of Cmd is banned. 嗨,我要去州际公路旅行,只能随身带我的笔记本电脑,我没有管理员权限,并且禁止使用Cmd。 I want to be able to use Pygame on my laptop. 我希望能够在笔记本电脑上使用Pygame。 How can I install the module without command line? 如何在没有命令行的情况下安装模块?

如果您使用的是C编译器,则可以从http://www.pygame.org/download.shtml下载源代码。

If you feel comfortable with Linux, you could use a live USB drive to boot into Linux and work there (without installing anything to the actual hard drive), or you could set up a new OS inside of a virtual machine. 如果您对Linux感到满意,则可以使用实时USB驱动器引导到Linux并在其中运行(而无需在实际的硬盘中安装任何东西),也可以在虚拟机内部设置新的OS。 Good luck. 祝好运。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM