In python2, you can’t directly use input to obtain strings. You need to use raw_Input() , so the error may be the wrong version of Python and the wrong statement
Adjusting Python version in
pycharm:
file–setting–project–project interpreter
Similar Posts:
- Error reporting of importing tensorflow package from pycharm
- TypeError at /index.html/ ‘method’ object is not subscriptable
- No Python interpreter configured for the project
- The problem of error reporting when importing openpyxl from Python has finally been solved
- [Solved] Pycharm Build a flash environment Error: Non zero exit code (2)
- Error reported by python console in Pycharm [How to Solve]
- [Solved] Pytest HTML error: ERROR: usage: main.py [options] [file_or_dir] […]
- [Solved] Pycharm Error: Error running ‘XXX‘: Cannot run program “XXX\python.exe“ (in directory “XXX“)
- Importerror: no module named * [How to Solve]
- Error interpreter field is empty when installing pychar to create a new project. Run the python program