79773398

Date: 2025-09-24 07:35:42
Score: 1.5
Natty:
Report link
  1. Check if there is another file named db.py somewhere else in your project or Python environment that might be causing a conflict.

  2. In your export.py, add these lines to see which db.py file Python is actually importing

  3. import db

    print(db._file_)

  4. Make sure there are no circular imports — for example, db.py should not import export.py or anything that imports export.py.

  5. Restart your Streamlit app and your editor to clear any caches or old imports.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: mahesh