Demo in Tutorial doesn't work

Answered

Hi,

Just  installed PyCharm 2024.3/Python 3.13.1/Windows 11/Ubuntu 24.04.1 LTS

When running the demo script in debug mode, after stopping the debug mode, I got:

C:\Users\client\AppData\Local\Microsoft\WindowsApps\python3.13.exe -X pycache_prefix=C:\Users\client\AppData\Local\JetBrains\PyCharm2024.3\cpython-cache "C:/Program Files/JetBrains/PyCharm 2024.3.1.1/plugins/python-ce/helpers/pydev/pydevd.py" --multiprocess --qt-support=auto --port 29781 --file C:\Users\client\AppData\Local\JetBrains\PyCharm2024.3\demo\PyCharmLearningProject\welcome.py 
Traceback (most recent call last):
 File "C:\Users\client\AppData\Local\JetBrains\PyCharm2024.3\demo\PyCharmLearningProject\welcome.py", line 8, in <module>
   print("AVERAGE", find_average([5,6, 7, 8]))
                    ~~~~~~~~~~~~^^^^^^^^^^^^^
 File "C:\Users\client\AppData\Local\JetBrains\PyCharm2024.3\demo\PyCharmLearningProject\welcome.py", line 5, in find_average
   return result
          ^^^^^^
KeyboardInterrupt
Exception ignored in: <function _DeleteDummyThreadOnDel.__del__ at 0x0000023AD61FAC00>
Traceback (most recent call last):
 File "C:\Program Files\JetBrains\PyCharm 2024.3.1.1\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_pep_669_tracing.py", line 561, in py_raise_callback
 File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.496.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1435, in current_thread
TypeError: 'NoneType' object is not subscriptable

Process finished with exit code -1073741510 (0xC000013A: interrupted by Ctrl+C)
___

Comments welcome, thanks.

0
2 comments

Hi Didier Morandi,

Unfortunately this looks like PY-76928.

Please try to install Python 3.12 from python.org and re-configure the Python interpreter as a workaround.

Apologies for the inconvenience.

 

0

No harm done.
You mean to fix my 3.13 problem I should install 3.12 instead? :-)

0

Post is closed for comments.