Python Forum

Full Version: folder PyQt5 created during creation exe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello;
I just created an exe of an application made under Tkinter (python 3.6) with this code:

python setup.py build
the creation of the executable was done successfully, but in the "lib" folder, I found a subfolder "PyQT5"
my question is why this folder was created while I was using Tkinter as a GUI to create the graph, and not PyQt5
for information, here is the python code that I used to import the libraries:

#!/usr/bin/python3
# -*- coding: utf-8 -*-
     
from math import *
from tkinter import *
from tkinter.filedialog import *
import tkinter.ttk as ttk
from tkinter.ttk import Notebook

from tkinter import messagebox
import tkinter as tk

from tkinter import font 

from datetime import *
import time
import calendar
import datetime

import os

import pathlib# to create folder if not exist

#to fix this error : ImportError: No module named backend_tkagg
import matplotlib.backends.backend_tkagg

import matplotlib.pyplot as plt

import numpy as np
from pathlib import Path
from matplotlib.ticker import MultipleLocator, FormatStrFormatter
import numpy.core._methods
import numpy.lib.format

import sqlite3

from functools import partial 
from PIL import Image, ImageTk
thanks for the help