You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/09/16 12:58:47 UTC

[GitHub] [superset] gfelot opened a new issue #16717: pkg_resources.ContextualVersionConflict: Flask-WTF

gfelot opened a new issue #16717:
URL: https://github.com/apache/superset/issues/16717


   ### Environment
   - superset version: latest
   - python version: 3.8.10
   
   
   After a fresh EC2 instance setup (Ubuntu 20.04) and updated everything on the system + add `venv`.
   
   ```
   pip3 install apache-superset
   
   [...] Downloading libraries [...]
   Building wheels for collected packages: apache-superset, cron-descriptor, holidays, pgsanity, python-geohash, sqlalchemy-utils, wtforms-json, Flask-Login, Flask-JWT-Extended, pymeeus
     Building wheel for apache-superset (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/apache-superset/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/apache-superset/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ygkos3k0
          cwd: /tmp/pip-install-b8u3bp45/apache-superset/
     Complete output (11 lines):
     fatal: not a git repository (or any of the parent directories): .git
     -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
     VERSION: 1.3.0
     GIT SHA:
     -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for apache-superset
     Running setup.py clean for apache-superset
     Building wheel for cron-descriptor (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/cron-descriptor/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/cron-descriptor/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-16v_s0dd
          cwd: /tmp/pip-install-b8u3bp45/cron-descriptor/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for cron-descriptor
     Running setup.py clean for cron-descriptor
     Building wheel for holidays (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/holidays/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/holidays/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-goz64hxs
          cwd: /tmp/pip-install-b8u3bp45/holidays/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for holidays
     Running setup.py clean for holidays
     Building wheel for pgsanity (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/pgsanity/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/pgsanity/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0ihq4xlz
          cwd: /tmp/pip-install-b8u3bp45/pgsanity/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for pgsanity
     Running setup.py clean for pgsanity
     Building wheel for python-geohash (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/python-geohash/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/python-geohash/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-bludpus5
          cwd: /tmp/pip-install-b8u3bp45/python-geohash/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for python-geohash
     Running setup.py clean for python-geohash
     Building wheel for sqlalchemy-utils (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/sqlalchemy-utils/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/sqlalchemy-utils/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-wqr10g0u
          cwd: /tmp/pip-install-b8u3bp45/sqlalchemy-utils/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for sqlalchemy-utils
     Running setup.py clean for sqlalchemy-utils
     Building wheel for wtforms-json (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/wtforms-json/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/wtforms-json/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-e0uvpkhl
          cwd: /tmp/pip-install-b8u3bp45/wtforms-json/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for wtforms-json
     Running setup.py clean for wtforms-json
     Building wheel for Flask-Login (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/Flask-Login/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/Flask-Login/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-qdftpzi0
          cwd: /tmp/pip-install-b8u3bp45/Flask-Login/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for Flask-Login
     Running setup.py clean for Flask-Login
     Building wheel for Flask-JWT-Extended (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/Flask-JWT-Extended/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/Flask-JWT-Extended/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-x7_585oy
          cwd: /tmp/pip-install-b8u3bp45/Flask-JWT-Extended/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for Flask-JWT-Extended
     Running setup.py clean for Flask-JWT-Extended
     Building wheel for pymeeus (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b8u3bp45/pymeeus/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b8u3bp45/pymeeus/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-mnw7kueb
          cwd: /tmp/pip-install-b8u3bp45/pymeeus/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for pymeeus
     Running setup.py clean for pymeeus
   Failed to build apache-superset cron-descriptor holidays pgsanity python-geohash sqlalchemy-utils wtforms-json Flask-Login Flask-JWT-Extended pymeeus
   ERROR: flask-appbuilder 3.3.3 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 0.15.1 which is incompatible.
   Installing collected packages: PyJWT, backoff, webencodings, six, pyparsing, packaging, bleach, cachelib, vine, amqp, kombu, pytz, billiard, celery, click, colorama, cron-descriptor, python-dateutil, croniter, pycparser, cffi, cryptography, deprecation, itsdangerous, MarkupSafe, Jinja2, Werkzeug, flask, Flask-Login, marshmallow, sqlalchemy, marshmallow-sqlalchemy, pyrsistent, attrs, jsonschema, Babel, Flask-Babel, idna, dnspython, email-validator, Flask-JWT-Extended, marshmallow-enum, pyyaml, apispec, WTForms, flask-wtf, defusedxml, python3-openid, Flask-OpenID, prison, sqlalchemy-utils, Flask-SQLAlchemy, flask-appbuilder, flask-caching, brotli, flask-compress, Mako, zipp, importlib-resources, alembic, flask-migrate, flask-talisman, geographiclib, geopy, graphlib-backport, gunicorn, pymeeus, convertdate, korean-lunar-calendar, holidays, humanize, isodate, markdown, msgpack, numpy, pandas, parsedatetime, pgsanity, polyline, pyarrow, python-dotenv, python-geohash, redis, urllib3, se
 lenium, simplejson, chardet, multidict, yarl, async-timeout, typing-extensions, aiohttp, slackclient, sqlparse, tabulate, wtforms-json, apache-superset
       Running setup.py install for cron-descriptor ... done
       Running setup.py install for Flask-Login ... done
       Running setup.py install for Flask-JWT-Extended ... done
       Running setup.py install for sqlalchemy-utils ... done
       Running setup.py install for pymeeus ... done
       Running setup.py install for holidays ... done
       Running setup.py install for pgsanity ... done
       Running setup.py install for python-geohash ... done
       Running setup.py install for wtforms-json ... done
       Running setup.py install for apache-superset ... done
   Successfully installed Babel-2.9.1 Flask-Babel-1.0.0 Flask-JWT-Extended-3.25.1 Flask-Login-0.4.1 Flask-OpenID-1.3.0 Flask-SQLAlchemy-2.5.1 Jinja2-2.11.3 Mako-1.1.5 MarkupSafe-2.0.1 PyJWT-1.7.1 WTForms-2.3.3 Werkzeug-1.0.1 aiohttp-3.7.4.post0 alembic-1.7.1 amqp-2.6.1 apache-superset-1.3.0 apispec-3.3.2 async-timeout-3.0.1 attrs-21.2.0 backoff-1.11.1 billiard-3.6.4.0 bleach-3.3.1 brotli-1.0.9 cachelib-0.1.1 celery-4.4.7 cffi-1.14.6 chardet-4.0.0 click-7.1.2 colorama-0.4.4 convertdate-2.3.2 cron-descriptor-1.2.24 croniter-1.0.15 cryptography-3.4.8 defusedxml-0.7.1 deprecation-2.1.0 dnspython-2.1.0 email-validator-1.1.3 flask-1.1.4 flask-appbuilder-3.3.3 flask-caching-1.10.1 flask-compress-1.10.1 flask-migrate-3.1.0 flask-talisman-0.8.1 flask-wtf-0.15.1 geographiclib-1.52 geopy-2.2.0 graphlib-backport-1.0.3 gunicorn-20.0.4 holidays-0.10.3 humanize-3.11.0 idna-3.2 importlib-resources-5.2.2 isodate-0.6.0 itsdangerous-1.1.0 jsonschema-3.2.0 kombu-4.6.11 korean-lunar-calendar-0.2.1 markdo
 wn-3.3.4 marshmallow-3.13.0 marshmallow-enum-1.5.1 marshmallow-sqlalchemy-0.23.1 msgpack-1.0.2 multidict-5.1.0 numpy-1.21.2 packaging-21.0 pandas-1.2.5 parsedatetime-2.6 pgsanity-0.2.9 polyline-1.4.0 prison-0.2.1 pyarrow-4.0.1 pycparser-2.20 pymeeus-0.5.11 pyparsing-2.4.7 pyrsistent-0.18.0 python-dateutil-2.8.2 python-dotenv-0.19.0 python-geohash-0.8.5 python3-openid-3.2.0 pytz-2021.1 pyyaml-5.4.1 redis-3.5.3 selenium-3.141.0 simplejson-3.17.5 six-1.16.0 slackclient-2.5.0 sqlalchemy-1.3.24 sqlalchemy-utils-0.36.8 sqlparse-0.3.0 tabulate-0.8.9 typing-extensions-3.10.0.2 urllib3-1.26.6 vine-1.3.0 webencodings-0.5.1 wtforms-json-0.3.3 yarl-1.6.3 zipp-3.5.0
   (venv) superset@ip-172-31-28-63:~$ superset db upgrade
   Traceback (most recent call last):
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
       ws.require(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.1 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/home/superset/venv/bin/superset", line 6, in <module>
       from pkg_resources import load_entry_point
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
       def _initialize_master_working_set():
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
       f(*args, **kwargs)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
       working_set = WorkingSet._build_master()
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
       return cls._build_from_requirements(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
       dists = ws.resolve(reqs, Environment())
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.1 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   (venv) superset@ip-172-31-28-63:~$ export FLASK_APP=superset
   (venv) superset@ip-172-31-28-63:~$ superset fab create-admin
   Traceback (most recent call last):
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
       ws.require(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.1 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/home/superset/venv/bin/superset", line 6, in <module>
       from pkg_resources import load_entry_point
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
       def _initialize_master_working_set():
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
       f(*args, **kwargs)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
       working_set = WorkingSet._build_master()
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
       return cls._build_from_requirements(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
       dists = ws.resolve(reqs, Environment())
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.1 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   (venv) superset@ip-172-31-28-63:~$ pip3 install apache-superset
   Requirement already satisfied: apache-superset in ./venv/lib/python3.8/site-packages (1.3.0)
   Requirement already satisfied: PyJWT<2,>=1.7.1 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.7.1)
   Requirement already satisfied: backoff>=1.8.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.11.1)
   Requirement already satisfied: bleach<4.0.0,>=3.0.2 in ./venv/lib/python3.8/site-packages (from apache-superset) (3.3.1)
   Requirement already satisfied: cachelib<0.2,>=0.1.1 in ./venv/lib/python3.8/site-packages (from apache-superset) (0.1.1)
   Requirement already satisfied: celery!=4.4.1,<5.0.0,>=4.3.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (4.4.7)
   Requirement already satisfied: click<8 in ./venv/lib/python3.8/site-packages (from apache-superset) (7.1.2)
   Requirement already satisfied: colorama in ./venv/lib/python3.8/site-packages (from apache-superset) (0.4.4)
   Requirement already satisfied: cron-descriptor in ./venv/lib/python3.8/site-packages (from apache-superset) (1.2.24)
   Requirement already satisfied: croniter>=0.3.28 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.0.15)
   Requirement already satisfied: cryptography>=3.3.2 in ./venv/lib/python3.8/site-packages (from apache-superset) (3.4.8)
   Requirement already satisfied: deprecation<2.2.0,>=2.1.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (2.1.0)
   Requirement already satisfied: flask-appbuilder<4.0.0,>=3.3.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (3.3.3)
   Requirement already satisfied: flask-caching>=1.10.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.10.1)
   Requirement already satisfied: flask-compress in ./venv/lib/python3.8/site-packages (from apache-superset) (1.10.1)
   Requirement already satisfied: flask-migrate in ./venv/lib/python3.8/site-packages (from apache-superset) (3.1.0)
   Requirement already satisfied: flask-talisman in ./venv/lib/python3.8/site-packages (from apache-superset) (0.8.1)
   Requirement already satisfied: flask-wtf in ./venv/lib/python3.8/site-packages (from apache-superset) (0.15.1)
   Requirement already satisfied: flask<2.0.0,>=1.1.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.1.4)
   Requirement already satisfied: geopy in ./venv/lib/python3.8/site-packages (from apache-superset) (2.2.0)
   Requirement already satisfied: graphlib-backport in ./venv/lib/python3.8/site-packages (from apache-superset) (1.0.3)
   Requirement already satisfied: gunicorn<20.1,>=20.0.2 in ./venv/lib/python3.8/site-packages (from apache-superset) (20.0.4)
   Requirement already satisfied: holidays==0.10.3 in ./venv/lib/python3.8/site-packages (from apache-superset) (0.10.3)
   Requirement already satisfied: humanize in ./venv/lib/python3.8/site-packages (from apache-superset) (3.11.0)
   Requirement already satisfied: isodate in ./venv/lib/python3.8/site-packages (from apache-superset) (0.6.0)
   Requirement already satisfied: itsdangerous<2.0.0,>=1.0.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.1.0)
   Requirement already satisfied: markdown>=3.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (3.3.4)
   Requirement already satisfied: msgpack<1.1,>=1.0.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.0.2)
   Requirement already satisfied: pandas<1.3,>=1.2.2 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.2.5)
   Requirement already satisfied: parsedatetime in ./venv/lib/python3.8/site-packages (from apache-superset) (2.6)
   Requirement already satisfied: pgsanity in ./venv/lib/python3.8/site-packages (from apache-superset) (0.2.9)
   Requirement already satisfied: polyline in ./venv/lib/python3.8/site-packages (from apache-superset) (1.4.0)
   Requirement already satisfied: pyarrow<4.1,>=4.0.1 in ./venv/lib/python3.8/site-packages (from apache-superset) (4.0.1)
   Requirement already satisfied: pyparsing<3.0.0,>=2.4.7 in ./venv/lib/python3.8/site-packages (from apache-superset) (2.4.7)
   Requirement already satisfied: python-dateutil in ./venv/lib/python3.8/site-packages (from apache-superset) (2.8.2)
   Requirement already satisfied: python-dotenv in ./venv/lib/python3.8/site-packages (from apache-superset) (0.19.0)
   Requirement already satisfied: python-geohash in ./venv/lib/python3.8/site-packages (from apache-superset) (0.8.5)
   Requirement already satisfied: pyyaml>=5.4 in ./venv/lib/python3.8/site-packages (from apache-superset) (5.4.1)
   Requirement already satisfied: redis in ./venv/lib/python3.8/site-packages (from apache-superset) (3.5.3)
   Requirement already satisfied: selenium>=3.141.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (3.141.0)
   Requirement already satisfied: simplejson>=3.15.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (3.17.5)
   Requirement already satisfied: slackclient==2.5.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (2.5.0)
   Requirement already satisfied: sqlalchemy!=1.3.21,<1.4,>=1.3.16 in ./venv/lib/python3.8/site-packages (from apache-superset) (1.3.24)
   Requirement already satisfied: sqlalchemy-utils<0.37,>=0.36.6 in ./venv/lib/python3.8/site-packages (from apache-superset) (0.36.8)
   Requirement already satisfied: sqlparse==0.3.0 in ./venv/lib/python3.8/site-packages (from apache-superset) (0.3.0)
   Requirement already satisfied: tabulate==0.8.9 in ./venv/lib/python3.8/site-packages (from apache-superset) (0.8.9)
   Requirement already satisfied: typing-extensions<4,>=3.7.4.3 in ./venv/lib/python3.8/site-packages (from apache-superset) (3.10.0.2)
   Requirement already satisfied: wtforms-json in ./venv/lib/python3.8/site-packages (from apache-superset) (0.3.3)
   Requirement already satisfied: packaging in ./venv/lib/python3.8/site-packages (from bleach<4.0.0,>=3.0.2->apache-superset) (21.0)
   Requirement already satisfied: six>=1.9.0 in ./venv/lib/python3.8/site-packages (from bleach<4.0.0,>=3.0.2->apache-superset) (1.16.0)
   Requirement already satisfied: webencodings in ./venv/lib/python3.8/site-packages (from bleach<4.0.0,>=3.0.2->apache-superset) (0.5.1)
   Requirement already satisfied: vine==1.3.0 in ./venv/lib/python3.8/site-packages (from celery!=4.4.1,<5.0.0,>=4.3.0->apache-superset) (1.3.0)
   Requirement already satisfied: billiard<4.0,>=3.6.3.0 in ./venv/lib/python3.8/site-packages (from celery!=4.4.1,<5.0.0,>=4.3.0->apache-superset) (3.6.4.0)
   Requirement already satisfied: pytz>dev in ./venv/lib/python3.8/site-packages (from celery!=4.4.1,<5.0.0,>=4.3.0->apache-superset) (2021.1)
   Requirement already satisfied: kombu<4.7,>=4.6.10 in ./venv/lib/python3.8/site-packages (from celery!=4.4.1,<5.0.0,>=4.3.0->apache-superset) (4.6.11)
   Requirement already satisfied: cffi>=1.12 in ./venv/lib/python3.8/site-packages (from cryptography>=3.3.2->apache-superset) (1.14.6)
   Requirement already satisfied: Flask-Babel<2,>=1 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (1.0.0)
   Requirement already satisfied: Flask-Login<0.5,>=0.3 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (0.4.1)
   Requirement already satisfied: email-validator<2,>=1.0.5 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (1.1.3)
   Requirement already satisfied: marshmallow<4,>=3 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (3.13.0)
   Requirement already satisfied: Flask-JWT-Extended<4,>=3.18 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (3.25.1)
   Requirement already satisfied: apispec[yaml]<4,>=3.3 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (3.3.2)
   Requirement already satisfied: marshmallow-enum<2,>=1.5.1 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (1.5.1)
   Requirement already satisfied: jsonschema<4,>=3.0.1 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (3.2.0)
   Requirement already satisfied: prison<1.0.0,>=0.2.1 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (0.2.1)
   Requirement already satisfied: marshmallow-sqlalchemy<0.24.0,>=0.22.0 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (0.23.1)
   Requirement already satisfied: Flask-OpenID<2,>=1.2.5 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (1.3.0)
   Requirement already satisfied: Flask-SQLAlchemy<3,>=2.4 in ./venv/lib/python3.8/site-packages (from flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (2.5.1)
   Requirement already satisfied: brotli in ./venv/lib/python3.8/site-packages (from flask-compress->apache-superset) (1.0.9)
   Requirement already satisfied: alembic>=0.7 in ./venv/lib/python3.8/site-packages (from flask-migrate->apache-superset) (1.7.1)
   Requirement already satisfied: WTForms in ./venv/lib/python3.8/site-packages (from flask-wtf->apache-superset) (2.3.3)
   Requirement already satisfied: Werkzeug<2.0,>=0.15 in ./venv/lib/python3.8/site-packages (from flask<2.0.0,>=1.1.0->apache-superset) (1.0.1)
   Requirement already satisfied: Jinja2<3.0,>=2.10.1 in ./venv/lib/python3.8/site-packages (from flask<2.0.0,>=1.1.0->apache-superset) (2.11.3)
   Requirement already satisfied: geographiclib<2,>=1.49 in ./venv/lib/python3.8/site-packages (from geopy->apache-superset) (1.52)
   Requirement already satisfied: setuptools>=3.0 in ./venv/lib/python3.8/site-packages (from gunicorn<20.1,>=20.0.2->apache-superset) (44.0.0)
   Requirement already satisfied: convertdate in ./venv/lib/python3.8/site-packages (from holidays==0.10.3->apache-superset) (2.3.2)
   Requirement already satisfied: korean_lunar_calendar in ./venv/lib/python3.8/site-packages (from holidays==0.10.3->apache-superset) (0.2.1)
   Requirement already satisfied: numpy>=1.16.5 in ./venv/lib/python3.8/site-packages (from pandas<1.3,>=1.2.2->apache-superset) (1.21.2)
   Requirement already satisfied: urllib3 in ./venv/lib/python3.8/site-packages (from selenium>=3.141.0->apache-superset) (1.26.6)
   Requirement already satisfied: aiohttp>3.5.2 in ./venv/lib/python3.8/site-packages (from slackclient==2.5.0->apache-superset) (3.7.4.post0)
   Requirement already satisfied: amqp<2.7,>=2.6.0 in ./venv/lib/python3.8/site-packages (from kombu<4.7,>=4.6.10->celery!=4.4.1,<5.0.0,>=4.3.0->apache-superset) (2.6.1)
   Requirement already satisfied: pycparser in ./venv/lib/python3.8/site-packages (from cffi>=1.12->cryptography>=3.3.2->apache-superset) (2.20)
   Requirement already satisfied: Babel>=2.3 in ./venv/lib/python3.8/site-packages (from Flask-Babel<2,>=1->flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (2.9.1)
   Requirement already satisfied: idna>=2.0.0 in ./venv/lib/python3.8/site-packages (from email-validator<2,>=1.0.5->flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (3.2)
   Requirement already satisfied: dnspython>=1.15.0 in ./venv/lib/python3.8/site-packages (from email-validator<2,>=1.0.5->flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (2.1.0)
   Requirement already satisfied: attrs>=17.4.0 in ./venv/lib/python3.8/site-packages (from jsonschema<4,>=3.0.1->flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (21.2.0)
   Requirement already satisfied: pyrsistent>=0.14.0 in ./venv/lib/python3.8/site-packages (from jsonschema<4,>=3.0.1->flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (0.18.0)
   Requirement already satisfied: python3-openid>=2.0 in ./venv/lib/python3.8/site-packages (from Flask-OpenID<2,>=1.2.5->flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (3.2.0)
   Requirement already satisfied: Mako in ./venv/lib/python3.8/site-packages (from alembic>=0.7->flask-migrate->apache-superset) (1.1.5)
   Requirement already satisfied: importlib-resources; python_version < "3.9" in ./venv/lib/python3.8/site-packages (from alembic>=0.7->flask-migrate->apache-superset) (5.2.2)
   Requirement already satisfied: MarkupSafe in ./venv/lib/python3.8/site-packages (from WTForms->flask-wtf->apache-superset) (2.0.1)
   Requirement already satisfied: pymeeus<=1,>=0.3.13 in ./venv/lib/python3.8/site-packages (from convertdate->holidays==0.10.3->apache-superset) (0.5.11)
   Requirement already satisfied: async-timeout<4.0,>=3.0 in ./venv/lib/python3.8/site-packages (from aiohttp>3.5.2->slackclient==2.5.0->apache-superset) (3.0.1)
   Requirement already satisfied: chardet<5.0,>=2.0 in ./venv/lib/python3.8/site-packages (from aiohttp>3.5.2->slackclient==2.5.0->apache-superset) (4.0.0)
   Requirement already satisfied: yarl<2.0,>=1.0 in ./venv/lib/python3.8/site-packages (from aiohttp>3.5.2->slackclient==2.5.0->apache-superset) (1.6.3)
   Requirement already satisfied: multidict<7.0,>=4.5 in ./venv/lib/python3.8/site-packages (from aiohttp>3.5.2->slackclient==2.5.0->apache-superset) (5.1.0)
   Requirement already satisfied: defusedxml in ./venv/lib/python3.8/site-packages (from python3-openid>=2.0->Flask-OpenID<2,>=1.2.5->flask-appbuilder<4.0.0,>=3.3.0->apache-superset) (0.7.1)
   Requirement already satisfied: zipp>=3.1.0; python_version < "3.10" in ./venv/lib/python3.8/site-packages (from importlib-resources; python_version < "3.9"->alembic>=0.7->flask-migrate->apache-superset) (3.5.0)
   (venv) superset@ip-172-31-28-63:~$ superset db upgrade
   Traceback (most recent call last):
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
       ws.require(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.1 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/home/superset/venv/bin/superset", line 6, in <module>
       from pkg_resources import load_entry_point
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
       def _initialize_master_working_set():
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
       f(*args, **kwargs)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
       working_set = WorkingSet._build_master()
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
       return cls._build_from_requirements(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
       dists = ws.resolve(reqs, Environment())
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.1 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   (venv) superset@ip-172-31-28-63:~$ pip install Flask-WTF==0.15.0
   WARNING: The candidate selected for download or install is a yanked version: 'Flask-WTF' candidate (version 0.15.0 at https://files.pythonhosted.org/packages/9f/2b/92ff5344417b8a4b854ed14bd0f456bee9749585824b4070134f6643e973/Flask_WTF-0.15.0-py2.py3-none-any.whl#sha256=2ef896e87f458d2ea2908853650fdc939d8c1fde064e992b84bad860fd1e6c04 (from https://pypi.org/simple/flask-wtf/))
   Reason for being yanked: missing python_requires information
   Collecting Flask-WTF==0.15.0
     Downloading Flask_WTF-0.15.0-py2.py3-none-any.whl (13 kB)
   Requirement already satisfied: WTForms in ./venv/lib/python3.8/site-packages (from Flask-WTF==0.15.0) (2.3.3)
   Requirement already satisfied: Flask in ./venv/lib/python3.8/site-packages (from Flask-WTF==0.15.0) (1.1.4)
   Requirement already satisfied: itsdangerous in ./venv/lib/python3.8/site-packages (from Flask-WTF==0.15.0) (1.1.0)
   Requirement already satisfied: MarkupSafe in ./venv/lib/python3.8/site-packages (from WTForms->Flask-WTF==0.15.0) (2.0.1)
   Requirement already satisfied: Werkzeug<2.0,>=0.15 in ./venv/lib/python3.8/site-packages (from Flask->Flask-WTF==0.15.0) (1.0.1)
   Requirement already satisfied: Jinja2<3.0,>=2.10.1 in ./venv/lib/python3.8/site-packages (from Flask->Flask-WTF==0.15.0) (2.11.3)
   Requirement already satisfied: click<8.0,>=5.1 in ./venv/lib/python3.8/site-packages (from Flask->Flask-WTF==0.15.0) (7.1.2)
   ERROR: flask-appbuilder 3.3.3 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 0.15.0 which is incompatible.
   Installing collected packages: Flask-WTF
     Attempting uninstall: Flask-WTF
       Found existing installation: Flask-WTF 0.15.1
       Uninstalling Flask-WTF-0.15.1:
         Successfully uninstalled Flask-WTF-0.15.1
   Successfully installed Flask-WTF-0.15.0
   (venv) superset@ip-172-31-28-63:~$ superset db upgrade
   Traceback (most recent call last):
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
       ws.require(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.0 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/home/superset/venv/bin/superset", line 6, in <module>
       from pkg_resources import load_entry_point
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
       def _initialize_master_working_set():
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
       f(*args, **kwargs)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
       working_set = WorkingSet._build_master()
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
       return cls._build_from_requirements(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
       dists = ws.resolve(reqs, Environment())
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.0 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   (venv) superset@ip-172-31-28-63:~$ pip install Flask-WTF==0.14
   Collecting Flask-WTF==0.14
     Downloading Flask_WTF-0.14-py2.py3-none-any.whl (14 kB)
   Requirement already satisfied: Flask in ./venv/lib/python3.8/site-packages (from Flask-WTF==0.14) (1.1.4)
   Requirement already satisfied: WTForms in ./venv/lib/python3.8/site-packages (from Flask-WTF==0.14) (2.3.3)
   Requirement already satisfied: Werkzeug<2.0,>=0.15 in ./venv/lib/python3.8/site-packages (from Flask->Flask-WTF==0.14) (1.0.1)
   Requirement already satisfied: click<8.0,>=5.1 in ./venv/lib/python3.8/site-packages (from Flask->Flask-WTF==0.14) (7.1.2)
   Requirement already satisfied: Jinja2<3.0,>=2.10.1 in ./venv/lib/python3.8/site-packages (from Flask->Flask-WTF==0.14) (2.11.3)
   Requirement already satisfied: itsdangerous<2.0,>=0.24 in ./venv/lib/python3.8/site-packages (from Flask->Flask-WTF==0.14) (1.1.0)
   Requirement already satisfied: MarkupSafe in ./venv/lib/python3.8/site-packages (from WTForms->Flask-WTF==0.14) (2.0.1)
   ERROR: flask-appbuilder 3.3.3 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 0.14 which is incompatible.
   Installing collected packages: Flask-WTF
     Attempting uninstall: Flask-WTF
       Found existing installation: Flask-WTF 0.15.0
       Uninstalling Flask-WTF-0.15.0:
         Successfully uninstalled Flask-WTF-0.15.0
   Successfully installed Flask-WTF-0.14
   (venv) superset@ip-172-31-28-63:~$ superset db upgrade
   Traceback (most recent call last):
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
       ws.require(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.14 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/home/superset/venv/bin/superset", line 6, in <module>
       from pkg_resources import load_entry_point
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
       def _initialize_master_working_set():
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
       f(*args, **kwargs)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
       working_set = WorkingSet._build_master()
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
       return cls._build_from_requirements(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
       dists = ws.resolve(reqs, Environment())
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.14 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   (venv) superset@ip-172-31-28-63:~$ ls
   venv
   (venv) superset@ip-172-31-28-63:~$ rm -rf venv/
   (venv) superset@ip-172-31-28-63:~$
   (venv) superset@ip-172-31-28-63:~$ exit
   exit
   ubuntu@ip-172-31-28-63:~$ sudo su superset
   superset@ip-172-31-28-63:/home/ubuntu$ cd
   superset@ip-172-31-28-63:~$ pip3 install virtualenv
   Requirement already satisfied: virtualenv in ./.local/lib/python3.8/site-packages (20.7.2)
   Requirement already satisfied: distlib<1,>=0.3.1 in ./.local/lib/python3.8/site-packages (from virtualenv) (0.3.2)
   Requirement already satisfied: backports.entry-points-selectable>=1.0.4 in ./.local/lib/python3.8/site-packages (from virtualenv) (1.1.0)
   Requirement already satisfied: six<2,>=1.9.0 in /usr/lib/python3/dist-packages (from virtualenv) (1.14.0)
   Requirement already satisfied: filelock<4,>=3.0.0 in ./.local/lib/python3.8/site-packages (from virtualenv) (3.0.12)
   Requirement already satisfied: platformdirs<3,>=2 in ./.local/lib/python3.8/site-packages (from virtualenv) (2.3.0)
   superset@ip-172-31-28-63:~$ python3 -m venv venv
   superset@ip-172-31-28-63:~$ . venv/bin/activate
   (venv) superset@ip-172-31-28-63:~$ pip3 install apache-superset
   Collecting apache-superset
     Using cached apache-superset-1.3.0.tar.gz (31.4 MB)
   Collecting PyJWT<2,>=1.7.1
     Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
   Collecting backoff>=1.8.0
     Using cached backoff-1.11.1-py2.py3-none-any.whl (13 kB)
   Collecting bleach<4.0.0,>=3.0.2
     Using cached bleach-3.3.1-py2.py3-none-any.whl (146 kB)
   Collecting cachelib<0.2,>=0.1.1
     Using cached cachelib-0.1.1-py3-none-any.whl (13 kB)
   Collecting celery!=4.4.1,<5.0.0,>=4.3.0
     Using cached celery-4.4.7-py2.py3-none-any.whl (427 kB)
   Collecting click<8
     Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
   Collecting colorama
     Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
   Collecting cron-descriptor
     Using cached cron_descriptor-1.2.24.tar.gz (22 kB)
   Collecting croniter>=0.3.28
     Using cached croniter-1.0.15-py2.py3-none-any.whl (16 kB)
   Collecting cryptography>=3.3.2
     Using cached cryptography-3.4.8-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
   Collecting deprecation<2.2.0,>=2.1.0
     Using cached deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
   Collecting flask-appbuilder<4.0.0,>=3.3.0
     Using cached Flask_AppBuilder-3.3.3-py3-none-any.whl (1.9 MB)
   Collecting flask-caching>=1.10.0
     Using cached Flask_Caching-1.10.1-py3-none-any.whl (34 kB)
   Collecting flask-compress
     Using cached Flask_Compress-1.10.1-py3-none-any.whl (7.9 kB)
   Collecting flask-migrate
     Using cached Flask_Migrate-3.1.0-py3-none-any.whl (20 kB)
   Collecting flask-talisman
     Using cached flask_talisman-0.8.1-py2.py3-none-any.whl (18 kB)
   Collecting flask-wtf
     Using cached Flask_WTF-0.15.1-py2.py3-none-any.whl (13 kB)
   Collecting flask<2.0.0,>=1.1.0
     Using cached Flask-1.1.4-py2.py3-none-any.whl (94 kB)
   Collecting geopy
     Using cached geopy-2.2.0-py3-none-any.whl (118 kB)
   Collecting graphlib-backport
     Using cached graphlib_backport-1.0.3-py3-none-any.whl (5.1 kB)
   Collecting gunicorn<20.1,>=20.0.2
     Using cached gunicorn-20.0.4-py2.py3-none-any.whl (77 kB)
   Collecting holidays==0.10.3
     Using cached holidays-0.10.3.tar.gz (114 kB)
   Collecting humanize
     Using cached humanize-3.11.0-py3-none-any.whl (90 kB)
   Collecting isodate
     Using cached isodate-0.6.0-py2.py3-none-any.whl (45 kB)
   Collecting itsdangerous<2.0.0,>=1.0.0
     Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
   Collecting markdown>=3.0
     Using cached Markdown-3.3.4-py3-none-any.whl (97 kB)
   Collecting msgpack<1.1,>=1.0.0
     Using cached msgpack-1.0.2-cp38-cp38-manylinux1_x86_64.whl (302 kB)
   Collecting pandas<1.3,>=1.2.2
     Using cached pandas-1.2.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (9.7 MB)
   Collecting parsedatetime
     Using cached parsedatetime-2.6-py3-none-any.whl (42 kB)
   Collecting pgsanity
     Using cached pgsanity-0.2.9.tar.gz (7.5 kB)
   Collecting polyline
     Using cached polyline-1.4.0-py2.py3-none-any.whl (4.4 kB)
   Collecting pyarrow<4.1,>=4.0.1
     Using cached pyarrow-4.0.1-cp38-cp38-manylinux2014_x86_64.whl (21.9 MB)
   Collecting pyparsing<3.0.0,>=2.4.7
     Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
   Collecting python-dateutil
     Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
   Collecting python-dotenv
     Using cached python_dotenv-0.19.0-py2.py3-none-any.whl (17 kB)
   Collecting python-geohash
     Using cached python-geohash-0.8.5.tar.gz (17 kB)
   Collecting pyyaml>=5.4
     Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
   Collecting redis
     Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
   Collecting selenium>=3.141.0
     Using cached selenium-3.141.0-py2.py3-none-any.whl (904 kB)
   Collecting simplejson>=3.15.0
     Using cached simplejson-3.17.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (139 kB)
   Collecting slackclient==2.5.0
     Using cached slackclient-2.5.0-py2.py3-none-any.whl (54 kB)
   Collecting sqlalchemy!=1.3.21,<1.4,>=1.3.16
     Using cached SQLAlchemy-1.3.24-cp38-cp38-manylinux2010_x86_64.whl (1.3 MB)
   WARNING: The candidate selected for download or install is a yanked version: 'sqlalchemy-utils' candidate (version 0.36.8 at https://files.pythonhosted.org/packages/14/68/e5301c4c960c79a32333b8805e52cb69d3d237aa869a773b4157ccb3eb26/SQLAlchemy-Utils-0.36.8.tar.gz#sha256=fb66e9956e41340011b70b80f898fde6064ec1817af77199ee21ace71d7d6ab0 (from https://pypi.org/simple/sqlalchemy-utils/))
   Reason for being yanked: Wrong required python
   Collecting sqlalchemy-utils<0.37,>=0.36.6
     Using cached SQLAlchemy-Utils-0.36.8.tar.gz (138 kB)
   Collecting sqlparse==0.3.0
     Using cached sqlparse-0.3.0-py2.py3-none-any.whl (39 kB)
   Collecting tabulate==0.8.9
     Using cached tabulate-0.8.9-py3-none-any.whl (25 kB)
   Collecting typing-extensions<4,>=3.7.4.3
     Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
   Collecting wtforms-json
     Using cached WTForms-JSON-0.3.3.tar.gz (11 kB)
   Collecting six>=1.9.0
     Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
   Collecting packaging
     Using cached packaging-21.0-py3-none-any.whl (40 kB)
   Collecting webencodings
     Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
   Collecting kombu<4.7,>=4.6.10
     Using cached kombu-4.6.11-py2.py3-none-any.whl (184 kB)
   Collecting vine==1.3.0
     Using cached vine-1.3.0-py2.py3-none-any.whl (14 kB)
   Collecting billiard<4.0,>=3.6.3.0
     Using cached billiard-3.6.4.0-py3-none-any.whl (89 kB)
   Collecting pytz>dev
     Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
   Collecting cffi>=1.12
     Using cached cffi-1.14.6-cp38-cp38-manylinux1_x86_64.whl (411 kB)
   Collecting marshmallow<4,>=3
     Using cached marshmallow-3.13.0-py2.py3-none-any.whl (47 kB)
   Collecting Flask-OpenID<2,>=1.2.5
     Using cached Flask_OpenID-1.3.0-py3-none-any.whl (9.3 kB)
   Collecting prison<1.0.0,>=0.2.1
     Using cached prison-0.2.1-py2.py3-none-any.whl (5.8 kB)
   Collecting Flask-Login<0.5,>=0.3
     Using cached Flask-Login-0.4.1.tar.gz (14 kB)
   Collecting marshmallow-sqlalchemy<0.24.0,>=0.22.0
     Using cached marshmallow_sqlalchemy-0.23.1-py2.py3-none-any.whl (18 kB)
   Collecting email-validator<2,>=1.0.5
     Using cached email_validator-1.1.3-py2.py3-none-any.whl (18 kB)
   Collecting Flask-Babel<2,>=1
     Using cached Flask_Babel-1.0.0-py3-none-any.whl (9.5 kB)
   Collecting Flask-SQLAlchemy<3,>=2.4
     Using cached Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
   Collecting apispec[yaml]<4,>=3.3
     Using cached apispec-3.3.2-py2.py3-none-any.whl (27 kB)
   Collecting Flask-JWT-Extended<4,>=3.18
     Using cached Flask-JWT-Extended-3.25.1.tar.gz (32 kB)
   Collecting jsonschema<4,>=3.0.1
     Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
   Collecting marshmallow-enum<2,>=1.5.1
     Using cached marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB)
   Collecting brotli
     Using cached Brotli-1.0.9-cp38-cp38-manylinux1_x86_64.whl (357 kB)
   Collecting alembic>=0.7
     Using cached alembic-1.7.1-py3-none-any.whl (208 kB)
   Collecting WTForms
     Using cached WTForms-2.3.3-py2.py3-none-any.whl (169 kB)
   Collecting Jinja2<3.0,>=2.10.1
     Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
   Collecting Werkzeug<2.0,>=0.15
     Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
   Collecting geographiclib<2,>=1.49
     Using cached geographiclib-1.52-py3-none-any.whl (38 kB)
   Requirement already satisfied: setuptools>=3.0 in ./venv/lib/python3.8/site-packages (from gunicorn<20.1,>=20.0.2->apache-superset) (44.0.0)
   Collecting convertdate
     Using cached convertdate-2.3.2-py3-none-any.whl (47 kB)
   Collecting korean_lunar_calendar
     Using cached korean_lunar_calendar-0.2.1-py3-none-any.whl (8.0 kB)
   Collecting numpy>=1.16.5
     Using cached numpy-1.21.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.8 MB)
   Collecting urllib3
     Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
   Collecting aiohttp>3.5.2
     Using cached aiohttp-3.7.4.post0-cp38-cp38-manylinux2014_x86_64.whl (1.5 MB)
   Collecting amqp<2.7,>=2.6.0
     Using cached amqp-2.6.1-py2.py3-none-any.whl (48 kB)
   Collecting pycparser
     Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
   Collecting python3-openid>=2.0
     Using cached python3_openid-3.2.0-py3-none-any.whl (133 kB)
   Collecting idna>=2.0.0
     Using cached idna-3.2-py3-none-any.whl (59 kB)
   Collecting dnspython>=1.15.0
     Using cached dnspython-2.1.0-py3-none-any.whl (241 kB)
   Collecting Babel>=2.3
     Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
   Collecting pyrsistent>=0.14.0
     Using cached pyrsistent-0.18.0-cp38-cp38-manylinux1_x86_64.whl (118 kB)
   Collecting attrs>=17.4.0
     Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
   Collecting importlib-resources; python_version < "3.9"
     Using cached importlib_resources-5.2.2-py3-none-any.whl (27 kB)
   Collecting Mako
     Using cached Mako-1.1.5-py2.py3-none-any.whl (75 kB)
   Collecting MarkupSafe
     Using cached MarkupSafe-2.0.1-cp38-cp38-manylinux2010_x86_64.whl (30 kB)
   Collecting pymeeus<=1,>=0.3.13
     Using cached PyMeeus-0.5.11.tar.gz (5.4 MB)
   Collecting chardet<5.0,>=2.0
     Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
   Collecting yarl<2.0,>=1.0
     Using cached yarl-1.6.3-cp38-cp38-manylinux2014_x86_64.whl (324 kB)
   Collecting multidict<7.0,>=4.5
     Using cached multidict-5.1.0-cp38-cp38-manylinux2014_x86_64.whl (159 kB)
   Collecting async-timeout<4.0,>=3.0
     Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
   Collecting defusedxml
     Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
   Collecting zipp>=3.1.0; python_version < "3.10"
     Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
   Building wheels for collected packages: apache-superset, cron-descriptor, holidays, pgsanity, python-geohash, sqlalchemy-utils, wtforms-json, Flask-Login, Flask-JWT-Extended, pymeeus
     Building wheel for apache-superset (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/apache-superset/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/apache-superset/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-db5mifh_
          cwd: /tmp/pip-install-yecosmm4/apache-superset/
     Complete output (11 lines):
     fatal: not a git repository (or any of the parent directories): .git
     -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
     VERSION: 1.3.0
     GIT SHA:
     -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for apache-superset
     Running setup.py clean for apache-superset
     Building wheel for cron-descriptor (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/cron-descriptor/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/cron-descriptor/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-k7stneer
          cwd: /tmp/pip-install-yecosmm4/cron-descriptor/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for cron-descriptor
     Running setup.py clean for cron-descriptor
     Building wheel for holidays (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/holidays/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/holidays/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-g6t7madd
          cwd: /tmp/pip-install-yecosmm4/holidays/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for holidays
     Running setup.py clean for holidays
     Building wheel for pgsanity (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/pgsanity/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/pgsanity/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-5xqhm10i
          cwd: /tmp/pip-install-yecosmm4/pgsanity/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for pgsanity
     Running setup.py clean for pgsanity
     Building wheel for python-geohash (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/python-geohash/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/python-geohash/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-fwzcwrt6
          cwd: /tmp/pip-install-yecosmm4/python-geohash/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for python-geohash
     Running setup.py clean for python-geohash
     Building wheel for sqlalchemy-utils (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/sqlalchemy-utils/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/sqlalchemy-utils/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-w9jj9v1s
          cwd: /tmp/pip-install-yecosmm4/sqlalchemy-utils/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for sqlalchemy-utils
     Running setup.py clean for sqlalchemy-utils
     Building wheel for wtforms-json (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/wtforms-json/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/wtforms-json/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ayiqz67a
          cwd: /tmp/pip-install-yecosmm4/wtforms-json/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for wtforms-json
     Running setup.py clean for wtforms-json
     Building wheel for Flask-Login (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/Flask-Login/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/Flask-Login/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-4xg8m2s4
          cwd: /tmp/pip-install-yecosmm4/Flask-Login/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for Flask-Login
     Running setup.py clean for Flask-Login
     Building wheel for Flask-JWT-Extended (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/Flask-JWT-Extended/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/Flask-JWT-Extended/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-earlnbtc
          cwd: /tmp/pip-install-yecosmm4/Flask-JWT-Extended/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for Flask-JWT-Extended
     Running setup.py clean for Flask-JWT-Extended
     Building wheel for pymeeus (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: /home/superset/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yecosmm4/pymeeus/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yecosmm4/pymeeus/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-1v5a9kpz
          cwd: /tmp/pip-install-yecosmm4/pymeeus/
     Complete output (6 lines):
     usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
   
     error: invalid command 'bdist_wheel'
     ----------------------------------------
     ERROR: Failed building wheel for pymeeus
     Running setup.py clean for pymeeus
   Failed to build apache-superset cron-descriptor holidays pgsanity python-geohash sqlalchemy-utils wtforms-json Flask-Login Flask-JWT-Extended pymeeus
   ERROR: flask-appbuilder 3.3.3 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 0.15.1 which is incompatible.
   Installing collected packages: PyJWT, backoff, six, pyparsing, packaging, webencodings, bleach, cachelib, vine, amqp, kombu, billiard, pytz, celery, click, colorama, cron-descriptor, python-dateutil, croniter, pycparser, cffi, cryptography, deprecation, sqlalchemy, MarkupSafe, Jinja2, itsdangerous, Werkzeug, flask, marshmallow, defusedxml, python3-openid, Flask-OpenID, prison, Flask-Login, marshmallow-sqlalchemy, idna, dnspython, email-validator, Babel, Flask-Babel, Flask-SQLAlchemy, pyyaml, apispec, Flask-JWT-Extended, WTForms, flask-wtf, pyrsistent, attrs, jsonschema, marshmallow-enum, sqlalchemy-utils, flask-appbuilder, flask-caching, brotli, flask-compress, zipp, importlib-resources, Mako, alembic, flask-migrate, flask-talisman, geographiclib, geopy, graphlib-backport, gunicorn, pymeeus, convertdate, korean-lunar-calendar, holidays, humanize, isodate, markdown, msgpack, numpy, pandas, parsedatetime, pgsanity, polyline, pyarrow, python-dotenv, python-geohash, redis, urllib3, se
 lenium, simplejson, typing-extensions, chardet, multidict, yarl, async-timeout, aiohttp, slackclient, sqlparse, tabulate, wtforms-json, apache-superset
       Running setup.py install for cron-descriptor ... done
       Running setup.py install for Flask-Login ... done
       Running setup.py install for Flask-JWT-Extended ... done
       Running setup.py install for sqlalchemy-utils ... done
       Running setup.py install for pymeeus ... done
       Running setup.py install for holidays ... done
       Running setup.py install for pgsanity ... done
       Running setup.py install for python-geohash ... done
       Running setup.py install for wtforms-json ... done
       Running setup.py install for apache-superset ... done
   Successfully installed Babel-2.9.1 Flask-Babel-1.0.0 Flask-JWT-Extended-3.25.1 Flask-Login-0.4.1 Flask-OpenID-1.3.0 Flask-SQLAlchemy-2.5.1 Jinja2-2.11.3 Mako-1.1.5 MarkupSafe-2.0.1 PyJWT-1.7.1 WTForms-2.3.3 Werkzeug-1.0.1 aiohttp-3.7.4.post0 alembic-1.7.1 amqp-2.6.1 apache-superset-1.3.0 apispec-3.3.2 async-timeout-3.0.1 attrs-21.2.0 backoff-1.11.1 billiard-3.6.4.0 bleach-3.3.1 brotli-1.0.9 cachelib-0.1.1 celery-4.4.7 cffi-1.14.6 chardet-4.0.0 click-7.1.2 colorama-0.4.4 convertdate-2.3.2 cron-descriptor-1.2.24 croniter-1.0.15 cryptography-3.4.8 defusedxml-0.7.1 deprecation-2.1.0 dnspython-2.1.0 email-validator-1.1.3 flask-1.1.4 flask-appbuilder-3.3.3 flask-caching-1.10.1 flask-compress-1.10.1 flask-migrate-3.1.0 flask-talisman-0.8.1 flask-wtf-0.15.1 geographiclib-1.52 geopy-2.2.0 graphlib-backport-1.0.3 gunicorn-20.0.4 holidays-0.10.3 humanize-3.11.0 idna-3.2 importlib-resources-5.2.2 isodate-0.6.0 itsdangerous-1.1.0 jsonschema-3.2.0 kombu-4.6.11 korean-lunar-calendar-0.2.1 markdo
 wn-3.3.4 marshmallow-3.13.0 marshmallow-enum-1.5.1 marshmallow-sqlalchemy-0.23.1 msgpack-1.0.2 multidict-5.1.0 numpy-1.21.2 packaging-21.0 pandas-1.2.5 parsedatetime-2.6 pgsanity-0.2.9 polyline-1.4.0 prison-0.2.1 pyarrow-4.0.1 pycparser-2.20 pymeeus-0.5.11 pyparsing-2.4.7 pyrsistent-0.18.0 python-dateutil-2.8.2 python-dotenv-0.19.0 python-geohash-0.8.5 python3-openid-3.2.0 pytz-2021.1 pyyaml-5.4.1 redis-3.5.3 selenium-3.141.0 simplejson-3.17.5 six-1.16.0 slackclient-2.5.0 sqlalchemy-1.3.24 sqlalchemy-utils-0.36.8 sqlparse-0.3.0 tabulate-0.8.9 typing-extensions-3.10.0.2 urllib3-1.26.6 vine-1.3.0 webencodings-0.5.1 wtforms-json-0.3.3 yarl-1.6.3 zipp-3.5.0
   ```
   
   Lots of error that's leads to : 
   
   ```
   $ superset db upgrade
   
   Traceback (most recent call last):
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
       ws.require(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.1 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/home/superset/venv/bin/superset", line 6, in <module>
       from pkg_resources import load_entry_point
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
       def _initialize_master_working_set():
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
       f(*args, **kwargs)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
       working_set = WorkingSet._build_master()
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
       return cls._build_from_requirements(__requires__)
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
       dists = ws.resolve(reqs, Environment())
     File "/home/superset/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (Flask-WTF 0.15.1 (/home/superset/venv/lib/python3.8/site-packages), Requirement.parse('Flask-WTF<0.15.0,>=0.14.2'), {'flask-appbuilder'})
   ```
   
   ### SOLUTION
   From a brand new venv : 
   ```
   pip install Flask-WTF==0.14.3
   pip install apache-superset
   superset db upgrade
   ```
   Then follow the installation guide.
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] hchen98 commented on issue #16717: pkg_resources.ContextualVersionConflict: Flask-WTF

Posted by GitBox <gi...@apache.org>.
hchen98 commented on issue #16717:
URL: https://github.com/apache/superset/issues/16717#issuecomment-1024937967


   Hey @gfelot, thanks for the solution at the end. It works on my end with Ubuntu 20.04 and Python3.8.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] junlincc closed issue #16717: pkg_resources.ContextualVersionConflict: Flask-WTF

Posted by GitBox <gi...@apache.org>.
junlincc closed issue #16717:
URL: https://github.com/apache/superset/issues/16717


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org