robotframework-httplibrary
robotframework-httplibrary copied to clipboard
Importing test library 'HttpLibrary.HTTP' failed in python 3.8
Importing test library 'HttpLibrary.HTTP' failed: SyntaxError: invalid syntax Traceback (most recent call last): None PYTHONPATH: C:\Robot C:\Python38\python38.zip C:\Python38\DLLs C:\Python38\lib C:\Python38 C:\Python38\lib\site-packages
I've got the same error
The error is traced back to __init__.py, line 16
. That's this line:
https://github.com/peritus/robotframework-httplibrary/blob/0cb5d8fc673a82776e51def26cd7735b141bda68/src/HttpLibrary/init.py#L16
This has a Python 2 syntax, which got removed from Python 3.