Skip to content

MythX cannot be executed after installed. #268

@santai-wang-7senses

Description

@santai-wang-7senses
  • MythX CLI version: 0.6.22
  • Python version: 3.9.1
  • Operating System: macOS 12.1 Monterey

Description

I followed mythx-cli documentation to install mythx-cli. No matter what command typed in, mythx-cli only shows the Traceback message.

What I Did

~:pip3 install mythx-cli
~:mythx analyze --help

Traceback (most recent call last):
  File "/opt/homebrew/bin/mythx", line 5, in <module>
    from mythx_cli.cli import cli
  File "/opt/homebrew/lib/python3.9/site-packages/mythx_cli/cli.py", line 21, in <module>
    from mythx_cli.render.command import render
  File "/opt/homebrew/lib/python3.9/site-packages/mythx_cli/render/command.py", line 7, in <module>
    import jinja2
  File "/opt/homebrew/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/opt/homebrew/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/opt/homebrew/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/opt/homebrew/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/homebrew/lib/python3.9/site-packages/markupsafe/__init__.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions