bandprotocol/pylibra

unable to install pylibra

Opened this issue · 5 comments

Run through this error while installing pylibra.

Collecting black==19.3b0 (from pylibra)
Using cached https://files.pythonhosted.org/packages/89/07/aebb10fb8f2ffbac672dfbebffa724643bc84cf012a57737a622d1dabddb/black-19.3b0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-cjHnxL/black/setup.py", line 13
def get_long_description() -> str:
^
SyntaxError: invalid syntax

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

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-cjHnxL/black/

Which version of python are you using?

@trinayanbhatt Python2 is not compatible with this library.

@saguywalker I have tried with python3 both with Python 3.5.2 and with Python 3.7.

@suraneti Yes I am trying with python3 only.

According to psf/black#439 (comment), you should try to run pip install --pre black with Python 3.7.