ringcentral / ringcentral-python

RingCentral Connect Platform Python SDK
MIT License
43 stars 35 forks source link

pip 2.7 doesn't work #45

Closed suyashcjoshi closed 1 year ago

suyashcjoshi commented 2 years ago

I tried to run this command as stated in our README.md pip install ringcentral to install the SDK but ran into this error:

      File "/tmp/easy_install-zTh0kz/setuptools_scm-6.0.1/src/setuptools_scm/utils.py", line 41
        print(*k)
              ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-OZLxz1/cbor2/

It is because the default pip pointed to version 2.7 which is now in 'end of life' status Python https://www.python.org/downloads/ so it didn't work and then when I tried to install using pip3 install ringcentral that worked successfully. I'll submit a PR with the fix.

suyashcjoshi commented 2 years ago

PR https://github.com/ringcentral/ringcentral-python/pull/46