Traceback (most recent call last):


 "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main

mod_name, mod_spec, code = _get_module_details(mod_name, _Error)


 "/usr/lib/python3.6/runpy.py", line 142, in _get_module_details

return _get_module_details(pkg_main_name, error)


 "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details

__import__(pkg_name)


 "/home/xxx/.local/lib/python3.6/site-packages/dvc/__init__.py", line 72, in <module>

warnings.filterwarnings("ignore", message="numpy.dtype size changed")


 "/usr/lib/python3.6/warnings.py", line 131, in filterwarnings

import re


 "/usr/lib/python3.6/re.py", line 142, in <module>

class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

Traceback (most recent call last):


 "/share/virtualenvs/inv-Li_05Nqg/bin/inv", line 10, in <module>

sys.exit(program.run())


 "/share/virtualenvs/inv-Li_05Nqg/lib/python3.7/site-packages/invoke/program.py", line 384, in run

self.execute()


 "/share/virtualenvs/inv-Li_05Nqg/lib/python3.7/site-packages/invoke/program.py", line 566, in execute

executor.execute(*self.tasks)


 "/share/virtualenvs/inv-Li_05Nqg/lib/python3.7/site-packages/invoke/executor.py", line 129, in execute

result = call.task(*args, **call.kwargs)


 "/share/virtualenvs/inv-Li_05Nqg/lib/python3.7/site-packages/invoke/tasks.py", line 127, in __call__

result = self.body(*args, **kwargs)


 "/home/spack/workspace/py/inv/tasks.py", line 8, in cd

ctx.run(f"echo {path}")


 "/share/virtualenvs/inv-Li_05Nqg/lib/python3.7/site-packages/invoke/context.py", line 94, in run

return self._run(runner, command, **kwargs)


 "/share/virtualenvs/inv-Li_05Nqg/lib/python3.7/site-packages/invoke/context.py", line 100, in _run

command = self._prefix_commands(command)


 "/share/virtualenvs/inv-Li_05Nqg/lib/python3.7/site-packages/invoke/context.py", line 242, in _prefix_commands

current_directory = self.cwd


 "/share/virtualenvs/inv-Li_05Nqg/lib/python3.7/site-packages/invoke/config.py", line 123, in __getattr__

raise AttributeError(err)
AttributeError: No attribute or config key found for 'cwd'
