Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

[Question] PSG Compiler on MAC requires an empty directory

Aberta
#6,138 8 comentários 0 reações 2 responsáveis Ver no GitHub

@Chr0nicT já está trabalhando nisso.

Desde 7/9/2023.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

Bug Done - Install Dev Build (see docs for how) Platform Specific Issue - Linux

Type of Issue (Enhancement, Error, Bug, Question)

Question


Environment

Operating System

Mac version 13.0.1

PySimpleGUI Port (tkinter, Qt, Wx, Web)

tkinter


Versions

Python version (sg.sys.version)

3.9.15 (main, Oct 11 2022, 22:27:25)
[Clang 14.0.0 (clang-1400.0.29.102)]

PySimpleGUI Version (sg.__version__)

4.60.4

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

8.6.12


Your Experience In Months or Years (optional)

Years Python programming experience
Years Programming experience overall
No Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • Searched main docs for your problem www.PySimpleGUI.org
  • Looked for Demo Programs that are similar to your goal Demos.PySimpleGUI.org
  • If not tkinter - looked for Demo Programs for specific port
  • For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • Run your program outside of your debugger (from a command line)
  • Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

When I use pgscompiler to compile a PySimpleGui script (DebugPrint.py) I get the following error in Terminal:
Error: The output directory "/Users/michaelpauken/Documents/PythonProjects/PySimpleGui Tutorial/DebugPrint" is not empty. Please remove all its contents or use the -y option (remove output directory without confirmation).

the --specpath is pointing to my working directory, which of course, is not empty.

How do I compile a Python script on a Mac? My IDE is PyCharm.

Code To Duplicate
# Paste your code here


Screenshot, Sketch, or Drawing
Linguagem predominante
Python
Estrelas
13.8k
Forks
1.8k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de PySimpleGUI/PySimpleGUI

Todas as issues de PySimpleGUI/PySimpleGUI

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.