Pyinstaller is not recognized as internal or external command

前端 未结 8 1608
旧巷少年郎
旧巷少年郎 2020-12-15 07:51

I am trying to use pyinstaller in cmd but I receive error:

C:\\Users\\username>pyinstaller
\'pyinstaller\' is not recognized as an internal         


        
相关标签:
8条回答
  • 2020-12-15 08:39

    For Python 3.7, you will have to add the Scripts folder from AppData/Roaming (%appdata%) to the PATH variable.

    C:\Users\%USERNAME%\AppData\Roaming\Python\Python37\Scripts

    0 讨论(0)
  • 2020-12-15 08:39

    Copy youe script folder's path C:\Users\username\AppData\Local\Programs\Python\Python36-32\Scripts and paste it in: environment varibales> system varibales> path and save it. Then restart your PC and try running pyinsatller from anywhere it will work.

    0 讨论(0)
提交回复
热议问题