tkinterdnd2 icon indicating copy to clipboard operation
tkinterdnd2 copied to clipboard

tkinterdnd2 not working even after using hook file

Open pronoym99 opened this issue 4 years ago • 1 comments

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.

pronoym99 avatar Jun 04 '21 06:06 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.

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

Moosems avatar May 09 '22 11:05 Moosems