Friday, February 16, 2024

Setup Turtle Graphics on openSUSE Tumbleweed via Python3.13-dev

 First install pyenv on Tumbleweed. You may follow for instance http://lxer.com/module/newswire/view/337068/index.html

Then install Python3.13-dev (or Python3.13.0a2(3))  via pyenv . It won't affect system-wide Python 3.11.(X)























Now create new project in PyCharm 2023.3 and select Python3.13-dev as project interpreter













Then load any sample say from https://www.geeksforgeeks.org/turtle-programming-python/  and make sure that you are done























Same way procedure described above would work on SparkyLinux2024.2 or Manjaro 23.1-(x) and Manjaro Testing as well . On Fedora Rawhide everything  works out of the box (Python 3.12.2)

#######################

UPDATE as of 02/17/24

#######################

Would you try to follow https://fedoraproject.org/wiki/Test_Day:2024-02-19_Fedora_40_GNOME_46_Desktop_and_Core_Apps

and use the most recent Fedora-Workstation-Live-x86_64-40-20240216.n.0.iso . Just check status of mirror

https://opencolo.mm.fcix.net/fedora/linux/development/40/Workstation/x86_64/iso/

To get things working:

execute first `sudo dnf install python3-tkinter`  then test will succeed














References

https://www.geeksforgeeks.org/python-turtle-tutorial/


No comments:

Post a Comment