search

Home  >  Q&A  >  body text

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

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...

天蓬老师天蓬老师2875 days ago808

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:31:26

    Look at the error message, you need a package like freetype-dev. There are a few "not found" at the end, I don't know if they will affect you.

    This is why I never recommend manual installation: there are too many dependencies that you have to guess and handle by yourself. Install directly using the system package manager and complete all installations with one command, saving trouble.

    reply
    0
  • Cancelreply