Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tkinterdnd2 not working even after using hook file #6

Open
pronoym99 opened this issue Jun 4, 2021 · 1 comment
Open

tkinterdnd2 not working even after using hook file #6

pronoym99 opened this issue Jun 4, 2021 · 1 comment

Comments

@pronoym99
Copy link

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.

@Moosems
Copy link

Moosems commented May 9, 2022

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.

You need to install pyinstaller. That is a message error for pyinstaller, not tkinterdnd2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants