I have compiled a python2.7.15(I have to do this because tracemalloc isn't a native pkg in python2). But I cannot use arrow keys in the shell:
[GCC 8.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> asd^[[D^[[D^[[D
HOW TO fix it?
I have solved this problem: ./python get-pip.py ./easy_install readline
./python get-pip.py
./easy_install readline
1.4m articles
1.4m replys
5 comments
56.9k users