splunk / eventgen

Splunk Event Generator: Eventgen
Apache License 2.0
376 stars 180 forks source link

exit status 1: python setup.py egg_info Check #327

Closed stevezeng1976 closed 4 years ago

stevezeng1976 commented 4 years ago

Hi, when I exec command(pip install git+https://www.github.com/splunk/eventgen.git) on centos with splunk 8.0, there is a error prompt: ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Does anybody encounter the issue? thanks.

BR Steve

li-wu commented 4 years ago

Evetngen 7.0.0 only supports Python3. Check the release notes to set the python version to start Eventgen: https://splunkbase.splunk.com/app/1924/

li-wu commented 4 years ago

If you are using pip to install it, the following steps work for me on MacOS:

mkdir venv3
virtualenv -p python3 venv3
source venv3/bin/activate
pip install git+https://www.github.com/splunk/eventgen.git
splunk_eventgen --version