Tracy Teal
04/24/2024, 6:06 PMstatus_code: 500, body: {'status': 500, 'data': None, 'message': 'Request failed with status code 500', 'details': 'An error occurred: max() arg is an empty sequence, Please contact us at <mailto:ops@nixtla.io|ops@nixtla.io> or Azul', 'code': 'B30', 'support': 'If you have questions or need support, please email <mailto:ops@nixtla.io|ops@nixtla.io>', 'requestID': 'V7WMN5GQH5', 'deprecation_details': 'The current endpoint /timegpt_multi_series will be deprecated on 2024-06-21, the new path will be /forecast_multi_series please refer to the docs (<https://docs.nixtla.io/reference>) for more info or send an email to <mailto:ops@nixtla.io|ops@nixtla.io>'}
Tracy Teal
04/24/2024, 6:08 PMThis problem (status_code: 500...) keeps occurring whenever I use the following code in the program:
from nixtlats import TimeGPT
token = 'Tas6HGovTKOMf...'
timegpt = TimeGPT(token=token)
I see that there might have been a change, and I tried the code:
from nixtla import NixtlaClient
nixtla_client = NixtlaClient(
api_key = 'Tas6HGovTKOMf...'
)
However, even though I installed 'nixtla' on several different environments, I always receive "ModuleNotFoundError: No module named 'nixtla'"
image.png
Cristian Challu
04/25/2024, 5:00 PMCristian Challu
04/25/2024, 5:00 PMCristian Challu
04/25/2024, 5:01 PMTracy Teal
04/25/2024, 5:05 PMTracy Teal
04/25/2024, 5:06 PMTracy Teal
04/25/2024, 8:43 PMfrom nixtla import NixtlaClient
going forward?
Thank you very much for getting in touch, it's starting to work after pip install -U nixtla.
I don't want to take up your time, but I will ask: will the previous version 'from nixtlats import TimeGPT' still work, or will it be gradually phased out?
Kind regards!
Ezdrasz