I'm trying to run a python file, but I keep getting a ImportError.

My set up is I have a project with the following path:

`/Users/John/Documents/pythonprojects/projectX`

within 'projectX' I have a folder called 'components' which contains two python files titled 'py\_file' and '**init**'.

`/Users/John/Documents/pythonprojects/projectX/components`

At the top of 'py\_file', I'm importing a namedTuple that is defined in '**init**' 

`from components import some_tuple`

When I run `python py_file.py run` I get `ImportError: No module named components`

I tried changing the `PYTHONPATH` to the project root and running the file again, but then I get this error `ImportError: No module named enum`. 

`PYTHONPATH=${PYTHONPATH}:/Users/John/Documents/pythonprojects/projectX
export PYTHONPATH`

after exporting the `PYTHONPATH`, every time I try to open a python shell I get the enum import error.