Closed gfesatidis closed 2 months ago
The problem was caused by a missing init.py file, which led to the cli module not being included in the distribution package. This issue has been resolved in the latest release and in commit #90
Thank you for raising this issue! :)
Description:
After installing the
transformers-cfg
package usingpip install transformers-cfg
, I'm encountering an error when attempting to run the CLI tool (transformers-cfg-cli
). This behavior does not occur when the package is installed directly via thesetup.py
script. The error traceback is as follows:Steps to Reproduce:
Install the package:
pip install transformers-cfg
Attempt to run the CLI tool:
transformers-cfg-cli -h
Expected Behavior: The CLI tool should execute without errors, displaying the help message or performing the intended function.
Actual Behavior: The CLI tool fails to run, raising a ModuleNotFoundError because the cli module is not found in the package.
Additional Information: Upon inspecting the installed package directory (site-packages/transformers_cfg/), I noticed that the cli directory is missing. This seems to be the cause of the error.
Environment: Python version: 3.11.9 Environment: Conda OS: WSL Ubuntu 24.04.1 LTS