PyCharm | Using Jupyther notebook and "input" (python 3) or "raw_input" seems not to work. It doesn in jupyther notebook.
已回答
This code works in jupyther notebook itself, but not using Pycharm. There appears a error. It seems to me this not yet supported in pycharm. Is it?
Any workaround ideas?
Other things are wokring in pycharm. I followed for setup this documentation page.
Code:
#Get Input
a = input("What's your name?")
print ("Not now Mrs ", a)
Error Code:
---------------------------------------------------------------------------
StdinNotImplementedError Traceback (most recent call last)
<ipython-input-2-b795ebd4df7a> in <module>()
1 #Read all experiments
----> 2 a = input("What ist your Name Dickass?")
3 print ("I'm python. Nice to meet you ", a)
/opt/anaconda3/lib/python3.6/site-packages/ipykernel/kernelbase.py in raw_input(self, prompt)
698 if not self._allow_stdin:
699 raise StdinNotImplementedError(
--> 700 "raw_input was called, but this frontend does not support input requests."
701 )
702 return self._input_request(str(prompt),
StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.
请先登录再写评论。
Hi Tim Kaluza! The problem is known, please vote for PY-14618.