Skip to content

I got an error (cannot import name 'chart' from 'utils') #6

@phdsmhong

Description

@phdsmhong

First of all, thank you for creating such a wonderful project! I really appreciate it.

I put the utils folder in the same directory where the main.py is located. I ran streamlit run main.py in vscode and received the following error.

ImportError: cannot import name 'chart' from 'utils' (C:\Users\myname\anaconda3\lib\site-packages\utils_init_.py)

It seems that python cannot read the file located in the folder where main.py is in. This may be a basic issue, but can you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions