当我尝试在我的virtualenvironment命令“ sudo pip3 install pygame”中使用以下命令安装pygame时,出现以下错误
我正在虚拟环境中使用Python 3.5
错误:命令python setup.py egg_info的完整输出: 错误:
from flask import Flask, flash, redirect, render_template, \
request, url_for
app = Flask(__name__)
app.secret_key = 'some_secret'
@app.route('/')
def index():
return render_template('index.html')
@app.route('/buy', methods=['GET', 'POST'])
def buy():
if False:
pass
else:
flash('You were redirected from /buy')
return redirect(url_for('index'))
return render_template('buy.html')
/ tmp / pip-build-4ulbmzsq / pygame /
中的命令“ python setup.py egg_info”失败,错误代码为1