"J.Arun Mani" <j.arunm...@protonmail.com> writes: > Hello. > I'm using Debian Testing (upgraded from Debian 10). Today I started > Python 3, but it was not able to interpret any commands from stdin and > resulted in Segmentation Fault. Luckily modules (python3 -m <module>) > and files (python3 <file>) works fine though. > > Observed: > $ python3 > Python 3.8.3rc1 (default, Apr 30 2020, 07:33:30)
Where did you get this from? https://tracker.debian.org/pkg/python3-defaults says testing has version 3.8.2-3. The output of the command "apt policy python3" and looking at your sources.list and /etc/apt/sources.list.d/* will help. > [GCC 9.3.0] on linux > Type "help", "copyright", "credits" or "license" for more information. >>>> print > <No output, nothing> > <Press any key> > Segmentation fault > > Screen capture that could help : > https://www.dropbox.com/s/9w941t93ymem1x1/python3_issue-2020-08-04_19.38.28.mp4?dl=0 > > Some additional info: > 1. I tried running a file that takes input from user (using input > function), it also didn't work. So I think something regarding > standard input has broken. > 2. Python 2 also has the exact, same issue. So both Pythons face the problem ! > > I have IPython installed, which works fine without any issue. > The very recent installations I made : > Installed Emacs (~ 2 days ago) > Installed and removed Neovim (~ 1 day ago) > > I tried reinstalling Python by : sudo apt reinstall python3 > But it didn't fix the issue. > > Though I hardly use live session of Python 3 (I use IPython for live > sessions), having a broken Python 3 scares me. Any help regarding the > issue is greatly appreciated. :) > > Thanks > J Arun Mani