我是靠谱客的博主 粗犷向日葵,最近开发中收集的这篇文章主要介绍python3.8安装pygame_python3.8.2 使用pip20.0.2 安装pygame报错?,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

内核版本:Linuxversion5.4.0-28-generic(buildd@lgw01-amd64-036)(gccversion9.3.0(Ubuntu9.3.0-10ubuntu2))#32-UbuntuSMPWedApr2217:40:10UTC2020Linux系统版本:Ubuntu20.04LTSn...

内核版本:Linux version 5.4.0-28-generic (buildd@lgw01-amd64-036) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #32-Ubuntu SMP Wed Apr 22 17:40:10 UTC 2020

Linux系统版本:Ubuntu 20.04 LTS n l

错误:

ERROR: Command errored out with exit status 1:

command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-49c1jd9o/pygame/setup.py'"'"'; __file__='"'"'/tmp/pip-install-49c1jd9o/pygame/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-49c1jd9o/pygame/pip-egg-info

cwd: /tmp/pip-install-49c1jd9o/pygame/

Complete output (12 lines):

WARNING, No "Setup" File Exists, Running "buildconfig/config.py"

Using UNIX configuration...

/bin/sh: 1: sdl-config: not found

/bin/sh: 1: sdl-config: not found

/bin/sh: 1: sdl-config: not found

Hunting dependencies...

WARNING: "sdl-config" failed!

Unable to run "sdl-config". Please make sure a development version of SDL is installed.

----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

展开

最后

以上就是粗犷向日葵为你收集整理的python3.8安装pygame_python3.8.2 使用pip20.0.2 安装pygame报错?的全部内容,希望文章能够帮你解决python3.8安装pygame_python3.8.2 使用pip20.0.2 安装pygame报错?所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(62)

评论列表共有 0 条评论

立即
投稿
返回
顶部