Skip to main content
2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/
user avatar
user avatar

Firstly, you could try a relative import such as

from ..utils import HdfsConnector

You'd also need to run the script as a module and not as a simple python script due to the _name_ being different. This wouldn't require you to modify the path. You can find more info here.