pyinstaller setup failed with “setup.py is not yet supposed to work. Please Use PyInstaller without installation.”

后端 未结 2 976
小鲜肉
小鲜肉 2021-01-27 09:14

I was trying to \"pip install pyinstaller\" on my Mountain Lion. It failed with

setup.py is not yet supposed to work. Please Use PyInstaller without installation         


        
相关标签:
2条回答
  • 2021-01-27 09:49

    As it says "it is not yet supposed to work" - if you read the documents you will find that you just unzip/unpack it into a local directory and run it from there.

    You are not supposed to run setup.py in pyinstaller at all - see here for how to set up pyinstaller. Once installed and on your path you run by typing pyinstaller your_main.py in your project directory. You may have to generate a specification file and edit it for things to work correctly - See the documentation!

    0 讨论(0)
  • 2021-01-27 10:07

    I had this error before and installing the development version helped when all else did not.

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