ParthJadhav / Tkinter-Designer

An easy and fast way to create a Python GUI 🐍
BSD 3-Clause "New" or "Revised" License
9.04k stars 829 forks source link

Help #439

Open ahmedyousry18 opened 1 month ago

ahmedyousry18 commented 1 month ago

How to Fix ? A key error occurs when the elements are named or grouped incorrectly. Before creating an issue, make sure that you have followed the instructions guide correctly.

If the issue still persists, create an issue with the following details included.

  1. Error Message

PS C:\Users\Ahmed Yousry\Desktop\Tkinter-Designer-master> & "C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python39_64/python.exe" "c:/Users/Ahmed Yousry/Desktop/Tkinter-Designer-master/gui/gui.py" Traceback (most recent call last): File "c:\Users\Ahmed Yousry\Desktop\Tkinter-Designer-master\gui\gui.py", line 13, in from tkdesigner.designer import Designer File "C:\Users\Ahmed Yousry\Desktop\Tkinter-Designer-master\tkdesigner\designer.py", line 1, in import tkdesigner.figma.endpoints as endpoints File "C:\Users\Ahmed Yousry\Desktop\Tkinter-Designer-master\tkdesigner\figma\endpoints.py", line 3, in import requests ModuleNotFoundError: No module named 'requests'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "c:\Users\Ahmed Yousry\Desktop\Tkinter-Designer-master\gui\gui.py", line 15, in raise RuntimeError("Couldn't add tkdesigner to the PATH.") RuntimeError: Couldn't add tkdesigner to the PATH.

  1. Link to the Figma File

gui/gui.py

Kunal-Garg-12 commented 2 days ago

Hi @ahmedyousry18 , open cli and run 'pip install requests'