Skip to content

import packages which i writed failed #16605

@weidongzhou1994

Description

@weidongzhou1994

when I run the python file in vscode, I encounter a problem: ModuleNotFoundError, but when running the same file in pycharm or add the above codes to my python file, it haves no problem, how can I solve this problem:

import os, sys

sys.path.append(os.getcwd())

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions