在python 3.5上安装pygame时出现权限错误 [英] Permission Error when installing pygame on python 3.5

查看:63
本文介绍了在python 3.5上安装pygame时出现权限错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我为 python 3.5 安装 pygame-1.9.2a0-cp35-none-win32.whl 时,出现权限错误:

When I install pygame-1.9.2a0-cp35-none-win32.whl for python 3.5 I get a permission error:

PermissionError: [WinError 5] Access is denied

然后它说错误出在pygame的站点包中.

and then it says the error is in a site package of pygame.

推荐答案

通过在程序文件之外重新安装 python 来修复它.

Fixed it by reinstalling python outside the program files.

这篇关于在python 3.5上安装pygame时出现权限错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆