Closed yunqi90 closed 1 year ago
We did not test our tool in Windows. The command batteryml
is installed by Python using the setup.py
. Can you provide more information of how you install the package and your Python environment?
Hello, where do you enter the command specifically? I entered it in CMD in Windows.
You should use windows powershell and use batteryml
instead of BatteryML
. The command line is case-sensitive. Also, make sure your python environment is in PATH
.
Uppercase and lowercase have the same effect and have no effect. The path has also been added to the system variables.
Can you share the output of echo %PATH%
in the command prompt? Make sure that the Scripts
folder is in your PATH, which holds the custom scripts installed using setup.py
.
Same problem here. Working on Windows 10. I have found the batteryml file in the bin folder as well as in my python environment folder. I have tried using both Paths but none worked. Any solution?
This error indicates the script batteryml
is not found. I will test on Windows 10. Please stay tuned.
After some investigation, I made this work under Windows. The cause was the setup.py
. We initially depended on the shebang line, e.g. #!/usr/bin/python
, in bin/batteryml
to work in Linux. Under Windows, pip cannot determine the correct entry point for this script. I got two solutions to this issue.
Git Bash
, which you may find in your option menu after right click.entry_points
in setup.py
.Close this as #23 is merged. Feel free to reopen this if any further problems encountered.
Download the raw data and run the two commands used in the preprocessing script: I type in the Command Prompt and it says 'batteryml' is not recognized as an internal or external command, operable program or batch file. Entering in Windows PowerShell executes successfully but without any action and result. Just skipped it. What is the problem?