whomaniac
whomaniac

Reputation: 1298

Python 2.6.6 doesn't work properly

I am working with RedHat Linux 5.6 (in case that matters).

My team is working with python 2.6.6. I installed it from source (configure, make, make install) from the official Python site. It seems to not work properly:

  1. When I type python in the terminal to enter the Python CLI, for some reason I can't delete what I type (backspace prints character marks to screen)

  2. Modules like psutils are missing (this should be a standard part of Python, no?)

Python 2.4, which was previously installed, works fine.

Any ideas?

Upvotes: 0

Views: 206

Answers (2)

tuomur
tuomur

Reputation: 7088

Install readline-devel from yum and then recompile Python. Command line editing magics require this library.

Upvotes: 0

shshank
shshank

Reputation: 2641

psutil is not a standard module. You will have to:

easy_install psutil

or

pip install psutil

in the terminal.

About the symbol when pressing backspace. '^?' symbol will appear on pressing backspace, if your insert option is on. Switch off insert (by pressing insert button on the keyboard) then try backspace.

Upvotes: 2

Related Questions