superset
superset copied to clipboard
No module named 'hvac'
I created new file under the folder superset/superset/ named db_access.py. I would like to import this file in the existing app.py file . I have the following imports in the newly created file, db_access.py
import boto3
import sys
import hvac
import pymysql
import psycopg2
import os
import io
import logging
from datetime import datetime, timedelta
import traceback
from timestream_reader import Timestream_reader
import json
from pathlib import Path
from zenpy import Zenpy
app.py
import logging
import os
import json
from flask import Flask
from flask import request,jsonify
from superset.initialization import SupersetAppInitializer
import sys
from superset.db_access import Db_access
when I tried running docker-compose up, it shows error such as no module named 'hvac'. But I have also tried pip install hvac and also tried by including in setup.py under install_requires, along with the command python setup.py install.But the error remains the same.Can anyone tell me where I need to do the updation based on my new imports?