'How to resolve this issue? cannot just understand , I tried to import it by install but still not working

I am trying to importing

fethcer . py file from 

src/fetcher/entrypoints/fethcer.py

to tests/steps/step_impl.py file

how can i import that?

...src.fetcher.entrypoints.fetcher import *

but it's giving me error

from ...src.fetcher.entrypoints.fetcher import * ImportError: attempted relative import with no known parent package

then what is the way?

dependency graph is -

 .
    ├── fetcher.db
    ├── README.MD
    ├── src
    │   └── fetcher
    │       ├── entrypoints
    │       │   ├── fetcher.py
    │       │   ├── __init__.py
    │       │   └── __pycache__
    │       │       
    │       │   
    │       ├── __init__.py
    │       └── __pycache__
    │           
    └── tests
        ├── acceptance
        │   └── fetch_relevant_instrument_list.feature
        ├── environment.py
        └── steps
            └── steps_impl.py


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source