Hi all, I seem to have the following error when r...
# ask-the-community
a
Hi all, I seem to have the following error when running flyte remotely. Anyone has encountered this before?
Copy code
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-dqrfqnc3 because the default path (/home/flytekit/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
My flyte workflow is quite simple and is as follow:
Copy code
@task()
def get_data() -> pd.DataFrame:
    data_dict = load_breast_cancer(as_frame=True)
    print(data_dict['data'].head())
    return data_dict['data']

@task()
def clean_data_pre_split(data:pd.DataFrame) -> pd.DataFrame:

    return data

@workflow()
def training_workflow():
    data  = get_data()
    data = clean_data_pre_split(data=data)
    return
j
I dont think Matplotlib one is the issue, i have seen that before in my workflows and it still runs fine. can you look at the flyte console
191 Views