ProtonMail / proton-python-client

Python Proton client module
GNU General Public License v3.0
355 stars 62 forks source link

Failure on build #41

Open dubcl opened 2 years ago

dubcl commented 2 years ago

Hi I try to install protonvpn on Archlinux 5.18.2-arch1-1 from aur (yay -S protonvpn), but when the installer try to build proton-python-client-0.7.1 I get this error:

==> Starting build()...
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from proton.constants import VERSION
  File "/home/carlos/.cache/yay/python-proton-client/src/proton-python-client-0.7.1/proton/__init__.py", line 1, in <module>
    from .api import Session # noqa
  File "/home/carlos/.cache/yay/python-proton-client/src/proton-python-client-0.7.1/proton/api.py", line 247
    exc_type, *_ = sys.exc_info()
              ^
SyntaxError: invalid syntax
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-proton-client

full log at https://pastebin.com/9RK21cVK

Any idea how to fix?, I try to search the issue but without luck.

Cheers.

artchiee commented 1 year ago

Hi @dubcl !! Just came to notice that proton updated their installation, since last time i used their CLi.

=> This approach is the method i've been using, before they updated the process! Don't know if the above method is still recommended !?