# pex


07/29/2016, 7:12 PM
So let's say we've got a developer who develops an airflow plugin and drops it into the appropriate path for airflow to find it. But said plugin needs to import modules that exist inside the airflow pex. How much one approach that sanely? IE.
Copy code
[2016-07-29 12:00:51,392] {} ERROR - Failed to import plugin /opt/airflow/plugins/
[2016-07-29 12:00:51,394] {} ERROR - No module named jaydebeapi
Traceback (most recent call last):
  File "/root/.pex/install/airflow-", line 64, in <module>
    m = imp.load_source(namespace, filepath)
  File "/opt/airflow/plugins/", line 10, in <module>
    import jaydebeapi, sys, logging
ImportError: No module named jaydebeapi