mobile-insight / mobileinsight-core

Mobile Network Intelligence Made Easy -- MobileInsight core functionalities
http://www.mobileinsight.net
Other
106 stars 81 forks source link

Ubuntu1804 ImportError: No module named dm_collector_c #63

Open yuanyehome opened 5 years ago

yuanyehome commented 5 years ago

Versions

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

xiongxiong1996 commented 2 years ago

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