Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[Question] PSG Compiler on MAC requires an empty directory

未關閉
#6,138 8 則留言 0 個 reaction 已指派 2 人 在 GitHub 檢視

@Chr0nicT 已經在處理了。

開始於 2023年9月7日。

評估

這個 Issue 還沒有評估資料。

描述

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
主要語言
Python
星號
13.8k
分支
1.8k
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

PySimpleGUI/PySimpleGUI 的其他 Issue

查看 PySimpleGUI/PySimpleGUI 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。