Having trouble importing flask dance into pyCharm

50 Views Asked by At

I'm trying to build an a login page for an application using github oauth and flask_dance. When I try to run the following code I keep getting an error saying that flask_dance could not be found, even though it's installed on this device.

try:
    from flask import Flask, redirect, url_for
    import random
    import json
    from time import time
    from random import random
    from flask_dance.contrib.github import make_github_blueprint, github

I've tried to install to ignore the problem but obviously that didn't work because I cannot build the application without it being able to run. I also can't install flask_dance through the pycharm ide as I did with flask.

0

There are 0 best solutions below