lucrib / locust_influx

Send information about locust requests to influxdb.
Apache License 2.0
19 stars 13 forks source link

Can't install throught pip with locust 1.1.1 #13

Open dilook opened 4 years ago

dilook commented 4 years ago

Enviroment: OS: Windows 7 Python: 3.8.3 locust==1.1.1

This error happened when I was trying to install with pip install locust-influx

ERROR: Command errored out with exit status 1: command: 'c:\users\usodv\pycharmprojects\load_se\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\usodv\AppData\Local\Temp\pip-install-4wbku0p0\locustio\setup.py'"'"'; file='"'"'C:\Users\usodv\AppData\L ocal\Temp\pip-install-4wbku0p0\locustio\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\usodv\AppData\Local\Te mp\pip-record-539zlfny\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\usodv\pycharmprojects\load_se\venv\include\site\python3.8\locustio' cwd: C:\Users\usodv\AppData\Local\Temp\pip-install-4wbku0p0\locustio\ Complete output (4 lines): running install

**** Locust package has moved from 'locustio' to 'locust'. Please update your reference (or pin your version to 0.14.6 if you dont want to update to 1.0) ****

----------------------------------------

ERROR: Command errored out with exit status 1: 'c:\users\usodv\pycharmprojects\load_se\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\usodv\AppData\Local\Temp\pip-install-4wbku0p0\locustio\setup.py'"'"'; file= '"'"'C:\Users\usodv\AppData\Local\Temp\pip-install-4wbku0p0\locustio\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\usodv\AppData\Local\Temp\pip-record-539zlfny\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\usodv\pycharmprojects\load_se\venv\include\site\python3.8\locustio' Check the logs for full command output.

pjcalvo commented 3 years ago

Checkout this for an updated library https://pypi.org/project/locust-influxdb-listener/