Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'carto' #173

Open
tech-team-rural-mda opened this issue Jul 3, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'carto' #173

tech-team-rural-mda opened this issue Jul 3, 2024 · 1 comment

Comments

@tech-team-rural-mda
Copy link

tech-team-rural-mda commented Jul 3, 2024

After following the instructions in the README to install the carto module, I am still not able to import carto in this simple hello-world-like app (named app.py):

    import os
    # import carto
    # from carto import auth
    from carto.auth import APIKeyAuthClient

    USERNAME="ruralinnovation-admin"
    USER_BASE_URL = "https://{user}.[carto.com/](http://carto.com/)".format(user=USERNAME)
    auth_client = auth.APIKeyAuthClient(api_key=os.getenv("CARTO_COM_API_KEY"), base_url=USER_BASE_URL)
Traceback (most recent call last):
  File "/Users/xxxxxxx/app.py", line 4, in <module>
    from carto.auth import APIKeyAuthClient
ModuleNotFoundError: No module named 'carto'
@tech-team-rural-mda
Copy link
Author

Similar to #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant