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

Command not found after successfully installing eland py client #496

Closed
ppf2 opened this issue Oct 17, 2022 · 1 comment
Closed

Command not found after successfully installing eland py client #496

ppf2 opened this issue Oct 17, 2022 · 1 comment

Comments

@ppf2
Copy link
Member

ppf2 commented Oct 17, 2022

Just filing in case others are seeing the same thing:

OS: MacOS Monterey 12.6

After installing Rust compiler and Eland Py client, running eland_import_hub_model returns a command not found error:

eland_import_hub_model: command not found

More info:

$python3 --version
Python 3.9.13
$pip3 list | grep eland
eland                 8.3.0

$ pip3 show eland
Name: eland
Version: 8.3.0
Summary: Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
Home-page: https://github.com/elastic/eland
Author: Steve Dodson
Author-email: steve.dodson@elastic.co
License: Apache-2.0
Location: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages
Requires: elasticsearch, matplotlib, numpy, pandas
Required-by:
# Showing installed module and dependent library versions
$ python3 -m pip install eland
Requirement already satisfied: eland in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (8.3.0)
Requirement already satisfied: elasticsearch<9,>=8.3 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from eland) (8.4.3)
Requirement already satisfied: pandas<2,>=1.2 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from eland) (1.5.0)
Requirement already satisfied: matplotlib<4 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from eland) (3.6.1)
Requirement already satisfied: numpy<2 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from eland) (1.23.4)
Requirement already satisfied: elastic-transport<9,>=8 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from elasticsearch<9,>=8.3->eland) (8.4.0)
Requirement already satisfied: pillow>=6.2.0 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from matplotlib<4->eland) (9.2.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from matplotlib<4->eland) (1.4.4)
Requirement already satisfied: contourpy>=1.0.1 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from matplotlib<4->eland) (1.0.5)
Requirement already satisfied: fonttools>=4.22.0 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from matplotlib<4->eland) (4.37.4)
Requirement already satisfied: python-dateutil>=2.7 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from matplotlib<4->eland) (2.8.2)
Requirement already satisfied: packaging>=20.0 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from matplotlib<4->eland) (21.3)
Requirement already satisfied: pyparsing>=2.2.1 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from matplotlib<4->eland) (3.0.9)
Requirement already satisfied: cycler>=0.10 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from matplotlib<4->eland) (0.11.0)
Requirement already satisfied: pytz>=2020.1 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from pandas<2,>=1.2->eland) (2022.4)
Requirement already satisfied: certifi in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from elastic-transport<9,>=8->elasticsearch<9,>=8.3->eland) (2022.9.24)
Requirement already satisfied: urllib3<2,>=1.26.2 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from elastic-transport<9,>=8->elasticsearch<9,>=8.3->eland) (1.26.12)
Requirement already satisfied: six>=1.5 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib<4->eland) (1.16.0)
$rustc --version
rustc 1.64.0 (a55dd71d5 2022-09-19)

Workaround: Use https://github.com/elastic/eland#docker to install training model instead of installing the eland py client locally.

@davidkyle
Copy link
Member

Fixed by #559

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