pydevd_resolver.py:138: SyntaxWarning: "is not" with a literal. Did you mean "!="? if found.get(name) is not 1:

Viewed 14677

new to python and using Pycharm 2019.1.3 professional and Python 3.8.0 get the following error when I open Python Console does anyone know how to fix this?

C:\Program Files\JetBrains\PyCharm 2019.1.3\helpers\pydev\pydevconsole.py" --mode=client --port=55208
C:\Program Files\JetBrains\PyCharm 2019.1.3\helpers\pydev\_pydevd_bundle\pydevd_resolver.py:138: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if found.get(name) is not 1:
2 Answers

What you posted is a new warning implemented in Python 3.8. Read this article for more details. The warning itself is not why Python Console doesn't work.

The reason is at the bottom: TypeError: an integer is required (got type bytes).

I think your version of PyCharm may simply not support Python 3.8. According to this you need at least version 2019.3.

Related