[Python][Tkinter]Unresolved reference 'tkinter' Follow
Hi everyone, recently I reinstalled python 3.8 because there was a bug in my interpreter. Now it works fine but when I started pycharm it recognizes more tkinter despite the fact that the python interpreter I chose is C:\Users\XXXX\AppData\Local\Microsoft\WindowsApps\python.exe.
My code:
from tkinter import *
from a_dl import load
import pickle
window = Tk()
window.title("Activator")
window.iconbitmap("power.ico")
window.minsize(700, 300)
window.maxsize(700, 300)
window.config(background="#99c1de")
Please sign in to leave a comment.
Hi,
Sorry, it is not clear what is the issue. Could you provide the error you get (if any), and a screenshot?
it recognizes all the base modules (pickle, os, sys...) but not tkinter
but when I start the configuration with Shift+F10 the program works correctly
Thank you,
What PyCharm version do you use? Have you tried 2020.3.1 aka the latest from https://www.jetbrains.com/pycharm/download/ ?
If the issue is reproduced in the latest version, please provide Logs from **Help | Collect Logs and Diagnostic Data**
You can use our uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.
this bug has been fixed when I updated pycharm to the last update.
thank you for your quick responses!