pylibra icon indicating copy to clipboard operation
pylibra copied to clipboard

unable to install pylibra

Open trinayanbhatt opened this issue 6 years ago • 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/

trinayanbhatt avatar Oct 09 '19 10:10 trinayanbhatt

Which version of python are you using?

saguywalker avatar Oct 13 '19 10:10 saguywalker

@trinayanbhatt Python2 is not compatible with this library.

suraneti avatar Oct 17 '19 03:10 suraneti

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

trinayanbhatt avatar Oct 24 '19 09:10 trinayanbhatt

@suraneti Yes I am trying with python3 only.

trinayanbhatt avatar Oct 24 '19 09:10 trinayanbhatt

According to https://github.com/psf/black/issues/439#issuecomment-514227490, you should try to run pip install --pre black with Python 3.7.

saguywalker avatar Oct 24 '19 12:10 saguywalker