Getting the following error:
ImportError: cannot import name FileImport
Code, taken directly from Carto documentation:
from cartodb import CartoDBAPIKey, CartoDBException, FileImport API_KEY ='MY_API_KEY' cartodb_domain = 'MY_DOMAIN' cl = CartoDBAPIKey(API_KEY, cartodb_domain) # Import csv file, set privacy as 'link' and create a default viz fi = FileImport("ground_temperature_KG.csv", cl, create_vis='true', privacy='link') fi.run()
The cartodb-python client that I installed seems to include everything. CartoDBAPIKey and CartoDBException are located in cartodb.py and FileImport is located in imports.py. But
import is only recognizing the first two modules and not the last...