خطا در اجرای دستور pyinstaller --onefile -w .\zzzz.py

زاهد خداانصاف
12 شهريور ۱۴۰۲

هنگام اجرای دستور pyinstaller --onefile -w .\zzzz.py  با این خطای مواجه میشم دلیلش چیه؟؟؟

 

pyinstaller : The term 'pyinstaller' is not recognized as the name of a cmdlet, function, script file, or operable  

program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.    

At line:1 char:1

+ pyinstaller --onefile -w .\zzzz.py

+ ~~~~~~~~~~~

   + CategoryInfo          : ObjectNotFound: (pyinstaller:String) [], CommandNotFoundException

   + FullyQualifiedErrorId : CommandNotFoundException

273

1 پاسخ
  • دانیال آذرپناه15 شهريور ۱۴۰۲

    سلام و درود. متاسفانه من رو سیستم عامل macos هستم و نمیتونم خودم دقیق تست کنم. این لینکی که فرستادم رو بررسی کنید انشالله به جواب برسید:
    https://stackoverflow.com/questions/45951964/pyinstaller-is-not-recognized-as-internal-or-external-command