8000 Pyinstaller compatibility, name of dist-info · Issue #47 · kxxoling/PTable · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Pyinstaller compatibility, name of dist-info #47
Open
@bungeetux

Description

@bungeetux

When trying to package the application using pyinstaller it complains :
pkg_resources.DistributionNotFound: The 'prettytable' distribution was not found and is required by the application

In fact, the distribution is available in the directory envname/Lib/site-packages but it has not the expected name by pyinstaller

prettytable
PTable-0.9.2.dist-info

I have just copy and rename the directory PTable-0.9.2.dist-info to prettytable-0.9.2.dist-info

So now in the directory envname/Lib/site-packages , I have among other directories,

prettytable
prettytable-0.9.2.dist-info
PTable-0.9.2.dist-info

And it fix the pyinstaller problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0