Ubuntu中python3.5 安装pygame失败,怎么安装?

 叶肖帆Seantq_693 发布于 2022-10-26 14:32

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-pwsdicnz-build/You are using pip version 8.1.1, however version 9.0.1 is available.You should consider upgrading via the 'pip install --upgrade pip' command.

使用的是 pip3 install --user hg+http://bitbucket.org/pygame/p...

1 个回答
  • 看报错啊,你需要类似 freetype-dev 之类的包。后边还有几个「not found」,也不知道会不会影响到你。

    这也是我一直不建议手动安装的原因:有太多的依赖你得自己猜测、处理。直接用系统包管理器安装,一条命令搞定所有安装,多省事。

    2022-10-27 00:55 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有