mobileinsight-core icon indicating copy to clipboard operation
mobileinsight-core copied to clipboard

Ubuntu1804 ImportError: No module named dm_collector_c

Open yuanyehome opened this issue 5 years ago • 1 comments

Versions

  • OS: Ubuntu1804
  • Python version: python2.7
  • Python installation method: anaconda

Description

execute ./install-ubuntu.sh

Code and Logs

While installing: Installed /usr/local/lib/python2.7/dist-packages/MobileInsight-4.0.0-py2.7-linux-x86_64.egg Processing dependencies for MobileInsight==4.0.0 Finished processing dependencies for MobileInsight==4.0.0 Installing GUI for MobileInsight... Testing the MobileInsight offline analysis example. Traceback (most recent call last): File "offline-analysis-example.py", line 11, in from mobile_insight.monitor import OfflineReplayer ImportError: No module named mobile_insight.monitor Failed to run offline analysis example! Exiting with status 4.

When using in my own pythonfile:

import mobile_insight Traceback (most recent call last): File "", line 1, in File "mobile_insight/init.py", line 9, in import analyzer File "mobile_insight/analyzer/init.py", line 48, in from log_analyzer import LogAnalyzer File "mobile_insight/analyzer/log_analyzer.py", line 15, in from mobile_insight.monitor import OfflineReplayer File "mobile_insight/monitor/init.py", line 26, in from dm_collector import * # P4A: THIS LINE WILL BE DELETED ### File "mobile_insight/monitor/dm_collector/init.py", line 10, in from dm_collector import DMCollector # P4A: THIS LINE WILL BE DELETED ### File "mobile_insight/monitor/dm_collector/dm_collector.py", line 22, in import dm_collector_c ImportError: No module named dm_collector_c

yuanyehome avatar Oct 17 '19 16:10 yuanyehome

I encountered the same problem. How did you solve it at that time

xiongxiong1996 avatar Feb 23 '22 03:02 xiongxiong1996