-2

I've been trying to use pyinstaller, but it never creates it. There is always this error: error

I've found that if I put this, it should work, but it doesn't. Does somebody know how to do it? .\pyinstaller --onefile -w 'filename.py'

gitblanc
  • 11
  • 5

2 Answers2

0

Add Your pyinstaller directory PATH to environment variable.

MrShakila
  • 874
  • 1
  • 4
  • 19
0

Search for 'Edit system environment variables' in control panel and add (C:\Users"Your username"\AppData\Local\Programs\Python\Python311\Scripts) to PATH

2TUF2TAP
  • 16
  • 2