Closed
Description
Right after pip install eland
, neither python -m eland
nor eland_import-hub-model
works on Windows.
C:\Users\YouheiSakurai>python -m eland
C:\Program Files\Python311\python.exe: No module named eland.__main__; 'eland' is a package and cannot be directly executed
C:\Users\YouheiSakurai>eland_import_hub_model
'eland_import_hub_model' is not recognized as an internal or external command,
operable program or batch file.
python -m eland
doesn't work because no ofeland.__main__
.eland_import-hub-model
doesn't work because scripts is used instead of console_scripts insetup.py
.
As the above picture shows, eland_import_hub_model
is not executable on Windows due to no file extension like .exe
.
I will open a PR to solve this hassle on Windows.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Migrate to entry_points elastic#551
xuanyuanbao commentedon Dec 4, 2024
I also has error。what i can do make it work?
xuanyuanbao commentedon Dec 4, 2024
oh,thanks me, I have resolve this problem,it my code instead to eland_import_hub_model in shell,it works where your computer operation system is Windows。
secondly, my elasticsearch version is 8.6.0, but elasticsearch 8.7.0 also works