PySimpleGUI icon indicating copy to clipboard operation
PySimpleGUI copied to clipboard

[ Question] Pysimplegui blocked as a virus

Open egm3387 opened this issue 2 years ago • 3 comments

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

Question


Operating System

windows 10 and 11

PySimpleGUI Port (tkinter, Qt, Wx, Web)


Versions

Version information can be obtained by calling sg.main_get_debug_data() Or you can print each version shown in ()

Python version (sg.sys.version)

3.11.7

PySimpleGUI Version (sg.__version__)

4.60.5

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


Your Experience In Months or Years (optional)

Years Python programming experience

Years Programming experience overall

Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)

Anything else you think would be helpful?


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. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
  • [ ] None of your GUI code was generated by an AI algorithm like GPT
  • [ ] 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
  • [ ] Have upgraded to the latest release of PySimpleGUI on PyPI (lastest official version)
  • [ ] Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

Creating a .exe file with pyinstaller the antivurus blocks the exe file as it was a virus, that is creating consern into the common windows user. How is it possible to avoid that 143.42.125.232:5353 upgradeapi.PysimpleGUI.com is called ? as this is useless for an exe file already frozen.

Code To Duplicate

A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)

This pre-formatted code block is all set for you to paste in your bit of code:

Screenshot, Sketch, or Drawing


Watcha Makin?

If you care to share something about your project, it would be awesome to hear what you're building.

egm3387 avatar Dec 12 '23 14:12 egm3387

PyInstaller and other .EXE files are frequently flagged as potential viruses. AVast has done this for as long as I've used PyInstaller. Do a search to see the experience others have had. Perhaps there's a setting in pyinstaller that can help. It's not a PySimpleGUI-unique problem....

image

PySimpleGUI avatar Dec 12 '23 16:12 PySimpleGUI

You can learn more about our previous investigation into the problem in this issue:

https://github.com/PySimpleGUI/PySimpleGUI/issues/4595

PySimpleGUI avatar Dec 12 '23 16:12 PySimpleGUI

You may also want to look through the PyInstaller project's responses to this issue...

https://github.com/pyinstaller/pyinstaller/issues?q=is%3Aissue+virus+is%3Aclosed

We're interested in learning more if you find something from the PyInstaller project so please stop back in for an update if you run across a solution.

PySimpleGUI avatar Dec 12 '23 16:12 PySimpleGUI