Zimbra-Community / python-zimbra

Core framework for easily sending requests to the Zimbra SOAP-API
BSD 2-Clause "Simplified" License
63 stars 26 forks source link

Python3 version #34

Closed sirio81 closed 2 years ago

sirio81 commented 3 years ago

cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.7 LTS"

python3 --version Python 3.5.2

pip3 install python-zimbra Traceback (most recent call last): File "/usr/bin/pip3", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.5/dist-packages/pip/__init__.py", line 12, in main from pip._internal.utils.entrypoints import _wrapper File "/usr/local/lib/python3.5/dist-packages/pip/_internal/utils/entrypoints.py", line 4, in <module> from pip._internal.cli.main import main File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 58 sys.stderr.write(f"ERROR: {exc}")

f-strings break compatibility with python version older than 3.6.

Home page says "Compatible with Python 2.7 and 3.x (cPython and PyPy)".

sirio81 commented 3 years ago

Sorry, this seems to be relate to pip itself.