-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Steps done:
- Generated pyhon client from tag.yml -> Ok
- installed on Debian machine with python3 ('3.5.3 (default, Sep 27 2018, 17:25:39) \n[GCC 6.3.0 20170516]')
2.1 -> unzip python-client-generated.zip
2.2 -> pip install python-client - when I run python and import swagger_client, get this error
/usr/bin/python3.5 /home/fmussi/atomProjs/sandbox/skyline/test_SMSapi_swagger.py
Traceback (most recent call last):
File "/home/fmussi/atomProjs/sandbox/skyline/test_SMSapi_swagger.py", line 3, in
import swagger_client
File "/home/fmussi/.local/lib/python3.5/site-packages/swagger_client/init.py", line 19, in
from swagger_client.api.selections_api import SelectionsApi
File "/home/fmussi/.local/lib/python3.5/site-packages/swagger_client/api/init.py", line 6, in
from swagger_client.api.selections_api import SelectionsApi
File "/home/fmussi/.local/lib/python3.5/site-packages/swagger_client/api/selections_api.py", line 21, in
from swagger_client.api_client import ApiClient
File "/home/fmussi/.local/lib/python3.5/site-packages/swagger_client/api_client.py", line 27, in
import swagger_client.models
File "/home/fmussi/.local/lib/python3.5/site-packages/swagger_client/models/init.py", line 20, in
from swagger_client.models.error import Error
File "/home/fmussi/.local/lib/python3.5/site-packages/swagger_client/models/error.py", line 19, in
from swagger_client.models.error import Error # noqa: F401,E501
ImportError: cannot import name 'Error'
Process finished with exit code 1