honeynet / droidbot

A lightweight test input generator for Android. Similar to Monkey, but with more intelligence and cool features!
MIT License
791 stars 230 forks source link

Python error on startup: No module named 'droidbot.input_policy_memory' #123

Open m-danya opened 3 years ago

m-danya commented 3 years ago

I have installed all the required packages, but when i try to start droidbot (by droidbot -h or by python3 start.py), i get an python error:

 File "start.py", line 4, in <module>
    from droidbot import input_manager
  File "/home/greedisgood/ml/droidbot/droidbot/__init__.py", line 1, in <module>
    from droidbot.droidbot import DroidBot
  File "/home/greedisgood/ml/droidbot/droidbot/droidbot.py", line 15, in <module>
    from .input_manager import InputManager
  File "/home/greedisgood/ml/droidbot/droidbot/input_manager.py", line 14, in <module>
    from .input_policy_memory import MemoryGuidedPolicy, POLICY_MEMORY_GUIDED
ModuleNotFoundError: No module named 'droidbot.input_policy_memory'

I think it may be related to the commit b8ad533d0633e89c3c8a639b668c1f0ad7df8045 named 'update policy'

Python 3.8.5, ubuntu 20.04, openjdk version "14.0.2" 2020-07-14

UPD. Everything works fine on 5932a4fad30d0a3a818120b1727093f6bb60f189, but doesn't work at 64be3ae69c2b92979f8f7d1a29530b050eef36e3 already

HanJinChi commented 3 years ago

I face the same question too

yuanchun-li commented 3 years ago

Please pull the latest version. This was due to a problematic commit. Sorry for the inconvenience.