Skip to content

Cannot import v6.19 of the SDK #153

@nbry

Description

@nbry

Reproducing the issue

# app.py

import smartcar

Then run:

python app.py

Error:

Traceback (most recent call last):
  File "<truncated>/app.py", line 1, in <module>
    import smartcar
  File "<truncated>/venv/lib/python3.12/site-packages/smartcar/__init__.py", line 3, in <module>
    from smartcar.auth_client import AuthClient
  File "<truncated>/venv/lib/python3.12/site-packages/smartcar/auth_client.py", line 9, in <module>
    import smartcar.response.v2 as v2
ModuleNotFoundError: No module named 'smartcar.response'

Suggested Fix

Have setup.py search for subpackages, or remove the subpackage structure of response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions