Hi, there appears to be a bug with the latest vers...
# dev-metaflow
m
Hi, there appears to be a bug with the latest version of metaflow @square-wire-39606
Copy code
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: <https://pip.pypa.io/warnings/venv>
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
e2e
Traceback (most recent call last):
  File "main.py", line 565, in <module>
    Inferrer()
  File "/usr/local/lib/python3.8/site-packages/metaflow/flowspec.py", line 102, in __init__
    from . import cli
  File "/usr/local/lib/python3.8/site-packages/metaflow/cli.py", line 29, in <module>
    from .runtime import NativeRuntime
  File "/usr/local/lib/python3.8/site-packages/metaflow/runtime.py", line 1171
    self.task.log(
    ^
IndentationError: unexpected indent
1
d
that’s very bizarre. according to git blame, that area of code hasn’t changed in over a year (and the last modification for the whole file was november). That line is on line 1170 though (not 1171). It’s also a pretty common log line so am surprised it has not been seen. Could you try to uninstall and reinstall?
m
Okay, will investigate more on our side and get back to you, thanks Romain.
@dry-beach-38304 Something on our end, we had some debugging lines inserted from ages ago for some other issue someone on here was helping us with that must have messed things up when we updated the version of metaflow, thanks for the prompt response anyway!