Im running into some issues with running my steps ...
# ask-metaflow
e
Im running into some issues with running my steps on a custom container in AWS. The fundamental issue is the python versions within the image. I have
python2.7
,
python3
and
python3.5
installed - but I am running into issues trying to
import metaflow
using python3.5 .
Copy code
root@715a805dbc61:/# python3
Python 3.5.2 (default, Nov 12 2018, 13:43:14) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import metaflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/metaflow/__init__.py", line 54, in <module>
    from metaflow.extension_support import (
  File "/usr/local/lib/python3.5/dist-packages/metaflow/extension_support.py", line 783, in <module>
    _all_packages, _pkgs_per_extension_point = _get_extension_packages()
  File "/usr/local/lib/python3.5/dist-packages/metaflow/extension_support.py", line 333, in _get_extension_packages
    all_paths = set(extensions_module.__path__)
UnboundLocalError: local variable 'extensions_module' referenced before assignment
I get this despite having
metaflow
installed (see comments). Any suggestions on what i might be doing wrong here?