Skip to content

tkinterdnd2 not working even after using hook file #6

Description

@pronoym99

Following is the file structure of my project. The python file is where I will be using the tkinterdnd2 package. I have already copied the hook-tkinterdnd2.py file in the base directory of the project.

Word-cloud-generator
├── LICENSE
├── README.md
└── word_cloud_generator.py

However, I still get the following error when this command is executed:
pyinstaller -F -w Word-cloud-generator/word_cloud_generator.py --additional-hooks-dir=.

Error message -

pyinstaller : The term 'pyinstaller' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1
+ pyinstaller -F -w Word-cloud-generator/word_cloud_generator.py --addi ...
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (pyinstaller:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException 

Please tell me what is the proper command to be executed as well as if any additional steps need to be followed.

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