The 'google-api-python-client' distribution was not found and is required by the application with pyinstaller

后端 未结 6 889
长情又很酷
长情又很酷 2020-12-02 01:13

I am currently trying to build an app with pyinstaller. I have gotten the error The \'google-api-python-client\' distribution was not found and is required by the appl

6条回答
  •  独厮守ぢ
    2020-12-02 01:44

    If you are coding using PyCharm, do the next:

    1. Run $ pip3 freeze in the terminal
    2. Create the file "requirements.txt" in your project folder
    3. Copy the result of the first step into "requirements.txt"
    4. PyCharm will show the message that installed packages in /venv do not satisfy "requirements.txt". Click the "Install packages" button, wait until all the packages are installed and then build your app again.

提交回复
热议问题