pyinstaller No module named pyinstaller

后端 未结 14 2076
日久生厌
日久生厌 2020-12-16 14:49

I have 2 python versions installed under my mac osx sierra: python 3.5 python 2.7

I installed pyinstaller under python3.5 with this command:

python3         


        
相关标签:
14条回答
  • 2020-12-16 15:50

    Their package name have caps in it (not sure if it's very PEP8 tho..). This should work if you can't find the pyinstaller executable script:

    python -m PyInstaller your_script.py 
    
    0 讨论(0)
  • 2020-12-16 15:55

    In my case I just opened cmd in Admin mode and re-ran the below cmd and it worked.

    pip install pyinstaller

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