sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postegresql [closed]











up vote
-3
down vote

favorite












I am working on Flask, SQLAlchemy
when I added the below script :



@app.route("/signup", methods = ['GET','POST'])
def signup():
form = SignupForm()

if request.method == 'POST':
if form.validate() == False:
return render_template('signup.html', form=form)
else:
newuser = (form.first_name.data, form.last_name.data, form.email.data, form.password.data)
db.session.add(newuser)
db.session.commit()
return "Success"
elif request.method == 'GET':
return render_template("signup.html", form = form)


if __name__ == '__main__':
app.run(debug = True)


I had the below error :



sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postegresql


I import everything from sqlalchemy, but no way to fix that



Some help please










share|improve this question













closed as off-topic by Ilja Everilä, Antti Haapala, smci, ewolden, Suever Nov 7 at 11:03


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – Ilja Everilä, Antti Haapala, smci, ewolden, Suever

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    The problem exists in code you've not provided and is a simple typo: it is "postgresql", not "postegresql". Also your newuser is a tuple, which you will run into later.
    – Ilja Everilä
    Nov 7 at 9:44










  • Oh my God! thank you very much
    – rachidj
    Nov 7 at 9:58















up vote
-3
down vote

favorite












I am working on Flask, SQLAlchemy
when I added the below script :



@app.route("/signup", methods = ['GET','POST'])
def signup():
form = SignupForm()

if request.method == 'POST':
if form.validate() == False:
return render_template('signup.html', form=form)
else:
newuser = (form.first_name.data, form.last_name.data, form.email.data, form.password.data)
db.session.add(newuser)
db.session.commit()
return "Success"
elif request.method == 'GET':
return render_template("signup.html", form = form)


if __name__ == '__main__':
app.run(debug = True)


I had the below error :



sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postegresql


I import everything from sqlalchemy, but no way to fix that



Some help please










share|improve this question













closed as off-topic by Ilja Everilä, Antti Haapala, smci, ewolden, Suever Nov 7 at 11:03


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – Ilja Everilä, Antti Haapala, smci, ewolden, Suever

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    The problem exists in code you've not provided and is a simple typo: it is "postgresql", not "postegresql". Also your newuser is a tuple, which you will run into later.
    – Ilja Everilä
    Nov 7 at 9:44










  • Oh my God! thank you very much
    – rachidj
    Nov 7 at 9:58













up vote
-3
down vote

favorite









up vote
-3
down vote

favorite











I am working on Flask, SQLAlchemy
when I added the below script :



@app.route("/signup", methods = ['GET','POST'])
def signup():
form = SignupForm()

if request.method == 'POST':
if form.validate() == False:
return render_template('signup.html', form=form)
else:
newuser = (form.first_name.data, form.last_name.data, form.email.data, form.password.data)
db.session.add(newuser)
db.session.commit()
return "Success"
elif request.method == 'GET':
return render_template("signup.html", form = form)


if __name__ == '__main__':
app.run(debug = True)


I had the below error :



sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postegresql


I import everything from sqlalchemy, but no way to fix that



Some help please










share|improve this question













I am working on Flask, SQLAlchemy
when I added the below script :



@app.route("/signup", methods = ['GET','POST'])
def signup():
form = SignupForm()

if request.method == 'POST':
if form.validate() == False:
return render_template('signup.html', form=form)
else:
newuser = (form.first_name.data, form.last_name.data, form.email.data, form.password.data)
db.session.add(newuser)
db.session.commit()
return "Success"
elif request.method == 'GET':
return render_template("signup.html", form = form)


if __name__ == '__main__':
app.run(debug = True)


I had the below error :



sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postegresql


I import everything from sqlalchemy, but no way to fix that



Some help please







python flask sqlalchemy






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 7 at 9:05









rachidj

1




1




closed as off-topic by Ilja Everilä, Antti Haapala, smci, ewolden, Suever Nov 7 at 11:03


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – Ilja Everilä, Antti Haapala, smci, ewolden, Suever

If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by Ilja Everilä, Antti Haapala, smci, ewolden, Suever Nov 7 at 11:03


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – Ilja Everilä, Antti Haapala, smci, ewolden, Suever

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    The problem exists in code you've not provided and is a simple typo: it is "postgresql", not "postegresql". Also your newuser is a tuple, which you will run into later.
    – Ilja Everilä
    Nov 7 at 9:44










  • Oh my God! thank you very much
    – rachidj
    Nov 7 at 9:58














  • 1




    The problem exists in code you've not provided and is a simple typo: it is "postgresql", not "postegresql". Also your newuser is a tuple, which you will run into later.
    – Ilja Everilä
    Nov 7 at 9:44










  • Oh my God! thank you very much
    – rachidj
    Nov 7 at 9:58








1




1




The problem exists in code you've not provided and is a simple typo: it is "postgresql", not "postegresql". Also your newuser is a tuple, which you will run into later.
– Ilja Everilä
Nov 7 at 9:44




The problem exists in code you've not provided and is a simple typo: it is "postgresql", not "postegresql". Also your newuser is a tuple, which you will run into later.
– Ilja Everilä
Nov 7 at 9:44












Oh my God! thank you very much
– rachidj
Nov 7 at 9:58




Oh my God! thank you very much
– rachidj
Nov 7 at 9:58

















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()