sloev/python-lambdarest

Trouble installing with pip

zchesty opened this issue · 5 comments

When running the install command "pip install lambdarest" I get an error

ERROR: Command errored out with exit status 1:
command: /backend/api_lambda/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/65/jpxwzrxj68xb7lp74c2_yf8hrp6vql/T/pip-install-wor4aeh7/lambdarest/setup.py'"'"'; file='"'"'/private/var/folders/65/jpxwzrxj68xb7lp74c2_yf8hrp6vql/T/pip-install-wor4aeh7/lambdarest/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/65/jpxwzrxj68xb7lp74c2_yf8hrp6vql/T/pip-install-wor4aeh7/lambdarest/pip-egg-info
cwd: /private/var/folders/65/jpxwzrxj68xb7lp74c2_yf8hrp6vql/T/pip-install-wor4aeh7/lambdarest/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/65/jpxwzrxj68xb7lp74c2_yf8hrp6vql/T/pip-install-wor4aeh7/lambdarest/setup.py", line 9, in
history = open("HISTORY.md").read()
FileNotFoundError: [Errno 2] No such file or directory: 'HISTORY.md'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Is there an issue with the setup.py script? Is this a known issue?

sloev commented
sloev commented
sloev commented

it should be fixed in 6.0.1, can you try @zchesty?

sloev commented

Installing collected packages: strict-rfc3339, werkzeug, lambdarest
Running setup.py install for strict-rfc3339 ... done
Found existing installation: Werkzeug 0.15.5
Uninstalling Werkzeug-0.15.5:
Successfully uninstalled Werkzeug-0.15.5
Running setup.py install for lambdarest ... done
Successfully installed lambdarest-6.0.1 strict-rfc3339-0.7 werkzeug-0.16.1

looks like it fixed it!

thanks :)