I am running PyCharm 2020.1.2 on Fedora Linux and Python 3.7.
I have successfully used the debugger before on code I write. But when I try to use the debugger in another project written by someone else I get the following error when I try to debug the code:
Traceback (most recent call last):
File "/home/iank/software/pycharm/plugins/python/helpers/pydev/pydevd.py", line 22, in <module>
from _pydevd_bundle.pydevd_constants import IS_JYTH_LESS25, IS_PYCHARM, get_thread_id, get_current_thread_id, \
File "/home/iank/software/pycharm-2020.1.2/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_constants.py", line 25, in <module>
IS_CPYTHON = platform.python_implementation() == 'CPython'
AttributeError: module 'platform' has no attribute 'python_implementation'
If I pull up the Python console, import platform and enter platform.python_implementation() I get CPython.
Any idea what is causing this error?