Skip to content

Cannot resolve python imports #218

Description

@markb-trustifi

The compilation failed on importing local python module that exists in the same folder as the main file:
import config

The shown error is:

[ImportError: Failed Import: 'config' module doesn't exist in any of the import directories: ./exampleservice-master, ./exampleservice-master/node_modules/rapydscript/src/lib] {
  message: "Failed Import: 'config' module doesn't exist in any of the import directories: ./exampleservice-master, ./exampleservice-master/node_modules/rapydscript/src/lib",
  filename: './exampleservice-master/statelesshosting.py',
  readfile_error: undefined
}

When I copied the config.py file into the src/lib folder it didn't find it too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions