mtv2102 opened a new issue, #21526:
URL: https://github.com/apache/superset/issues/21526

   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?
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to