Python Turtle Graphics window shows nothing

preview_player
Показать описание
(Only shows the black blank screen)
Рекомендации по теме
Комментарии
Автор

I realized I was using an older version of python. What worked for me was updating the interpreter in Pycharm to the latest python (as of today, it it 3.11). Also, when accessing turtle, put: from turtle import *. (This will work for anyone in Angela's Udemy class.). If you don't know how to update the interpreter, there are multiple videos everywhere on how to do this.

vanna
Автор

Thank you sir this solved my problem. I had exact same issue.
For some of you, you cant choose interpreter like he did in the video press shift+cmd+p, then search for python interpreter, click that and pick the latest version of python.
This worked on macbook.

timbarnbou
Автор

Thanks Guru! I have been stumped on this problem when I did the update!

lemusaca
Автор

I had the exact same problem at the same moment in the udemy course by Angela Yu. Thanks for the video!

Cratos
Автор

Thank you so much! The version in the bottom right was my issue!

Clipaholick
Автор

I had the same problem. Updated python with brew, followed by 'brew link python3' and then run 'brew install python-tk' This helped for some reason. Before that I was trying to make it work with pyenv (various python versions) and virtualenvs but couldn't. Running on M1 Monterey 12.4

NamelessSergey
Автор

Thanks for your help with interpreter. my problem is solved as well :)

sheidashariat
Автор

Thaks for solution. thanks to you i solved my problem.

mertkarahan
Автор

thanks!! solved my issue - spent so long looking on the internet but this works!

Ryan-mkch
Автор

Thanks bro:) you dont undrestenf how you helped me!!!

eliyaaharon
Автор

bro turtle graphic window opening outside the pycharm now to solve and opening inside the pycharm in Macbook

Chethan
Автор

I only have one option for Python interpreters, how do you add a new interpreter?

I see there's an add button, but the "Ok" button is greyed out when I select a new interpreter

jorgegonzalez
Автор

i have the same problem i changed all kinds but still not working

avantika---
Автор

weird! I have the same issue but the interpreter is 3.9, you have mentioned to use 3.9 to solve the problem but for me it is already 3.9 !

elnaztasdighi
Автор

bro the same problem but i have already latest version as u said that we use old version i used 3.9 but same problem what can i do??😓

heart
Автор

Noice eve ur doing 100 days of python course

Adnan_Safdari