Skip to content

Move main script to avoid an import error#115

Open
cann3v wants to merge 1 commit into
Dynamic-Mobile-Security:mainfrom
cann3v:main
Open

Move main script to avoid an import error#115
cann3v wants to merge 1 commit into
Dynamic-Mobile-Security:mainfrom
cann3v:main

Conversation

@cann3v

@cann3v cann3v commented Mar 22, 2024

Copy link
Copy Markdown

I ran into the problem of running the script when installing from source.
My installing steps:

  1. Git clone repo;
  2. Create virtual environment;
  3. Install deps from requirements.txt;
  4. Launch main script as it says in readme:
    python3 mdast_cli/mdast_scan.py -h
    Then i get this error:
Traceback (most recent call last):
  File "/root/progs/mdast-cli/mdast_cli/mdast_scan.py", line 10, in <module>
    from mdast_cli.distribution_systems.app_center import AppCenter
ModuleNotFoundError: No module named 'mdast_cli'

So i just moved mdast_scan.py to the parent directory and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant