Python Error is SLES (No module name readline)
Guys i have really lost my patience and now i want help from you guys . I recently installed python in SLES and now i get the below error when running it. I have googled a lot for possible solution but no luck found. Please guys help me on this
Code:
The GCC team. fear_matrix |
Quote:
Note that python 3.1 code related to readline may be found in these files: Code:
jameson@salmon:/usr/lib/python3.1$find . -name "*readline*" |
Quote:
Well in line 7 it says Import Readline. Funny thing is that it works perfectly in Red Hat Linux Enterprise 5. This is really getting into my nerve |
Hi,
1) Temporarily add this line to your $HOME/.bashrc or $HOME/.profile: Quote:
OR 2) Try to install first readline development headers (in Ubuntu called readline-dev; no idea how this is called, neither installed, in Suse) and then compiling Python 3.1 from source. [http://python.org] This usually helps. Hope this helps. |
Quote:
Thanks for your help but the above solution did not resolved my issue. It seems that the readline module was missing in SLES 11 which is important for Python 3 to run stable. Anyways i have resolved this issue and i would like to share the solution with you guys :- Solution 1 - I downloaded readline 5.2 from icewalkers website 2 - Installed readline 5.2 by compiling it from the source code 3 - Re-compiled Python 3 from the source code 4 - I executed python 3 and everything is working smoothly without any error. Regards Fear_Matrix |
All times are GMT -5. The time now is 09:10 PM. |