there should probably be a try-block in here to catch an import error and then try to load the egg

```python
try:
    module = importlib.import_module(tfunc_obj.module)
except ImportError:
    if not data_process_definition_obj.uri:
        raise
    egg = self._download_egg(data_process_definition_obj.uri)
    import pkg_resources
    pkg_resources.working_set.add_entry(egg)

...
```