를 찾을 수 없습니다이 내 코드입니다플라스크 - 404 나는 이것이 내 첫 번째 프로그램은 플라스크에 플라스크 개발 안돼서하지만 나에게이 오류 표시
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
&을
from flask import Flask
app = Flask(__name__)
@app.route('/index')
def index():
return 'Hello World'
if __name__ == '__main__':
app.run(debug=True)
시도하려는 URL이 무엇인가요? '/ index'이어야합니다. – karthikr
'http : // localhost : 5000/index'로 갔습니까? – Abdou
프로그램을 실행할 때 pycharm을 사용하고 있습니다.이 링크는 "http://127.0.0.1:5000/"에서 실행 중입니다. " –