alibaba / freeline

A super fast build tool for Android, an alternative to Instant Run
https://www.freelinebuild.com/
BSD 3-Clause "New" or "Revised" License
5.48k stars 621 forks source link

ImportError: No module named _curses #974

Open hulibruce opened 6 years ago

hulibruce commented 6 years ago

Traceback (most recent call last): File "freeline.py", line 50, in main() File "freeline.py", line 45, in main freeline = Freeline() File "freeline.py", line 13, in init self.dispatcher = Dispatcher() File "/Users/Documents/work/test/freeline/freeline_core/dispatcher.py", line 24, in init self._logger = Logger() File "/Users/Documents/work/test/freeline/freeline_core/logger.py", line 61, in init from cursor import Cursor File "/Users/Documents/work/test/freeline/freeline_core/cursor.py", line 3, in from terminal import Terminal File "/Users/Documents/work/test/freeline/freeline_core/terminal.py", line 5, in import curses File "/Users/Documents/work/android-tools-arm12b/lib/python2.7/curses/init.py", line 15, in from _curses import * ImportError: No module named _curses

Yiny123 commented 6 years ago

this is because u r using the python 3.0+ use python 2.7 can solve