# general

Brian Head

10/15/2023, 5:35 PM
Just a guess, but based on the error, it looks like you are trying to use their TimeGPT which requires a token. If you just want to run a naive model use Nixtla statsforcast package. They have a walkthrough tutorial here:

Xiaolong Luo

10/15/2023, 8:45 PM
Hi Brian, thanks for the comment.
Indeed, I was trying to try there TimeGPT. How do I get the token?
The Nixtla statsforcast package also ran into some issues:
Copy code
ImportError                               Traceback (most recent call last)
/tmp/ipykernel_6602/ in <module>
      1 import pandas as pd
----> 3 Y_df = pd.read_parquet('<>')
      5 Y_df.head()

~/anaconda3/lib/python3.9/site-packages/pandas/io/ in read_parquet(path, engine, columns, storage_options, use_nullable_dtypes, **kwargs)
    491         **kwargs,
    492     )
--> 493 
    494     if path is None:
    495         assert isinstance(path_or_buf, io.BytesIO)

~/anaconda3/lib/python3.9/site-packages/pandas/io/ in get_engine(engine)
     51     """return our implementation"""
     52     if engine == "auto":
---> 53         engine = get_option("io.parquet.engine")
     55     if engine == "auto":

ImportError: Unable to find a usable engine; tried using: 'pyarrow', 'fastparquet'.
A suitable version of pyarrow or fastparquet is required for parquet support.
Trying to import the above resulted in these errors:
 - No module named 'pandas.core.arrays._arrow_utils'
 - Missing optional dependency 'fastparquet'. fastparquet is required for parquet support. Use pip or conda to install fastparquet.
I am testing on an amazon webspace. Not sure if that has any envirobment issues. Thanks.
It appears many people had the same issue. Sent an email to request a token ...