I try to use modin unstead of pandas to "parallelize by changing a single line of code" I'm using IDLE and when I run this code :
import os
os.environ["MODIN_ENGINE"] = "ray"
import ray
ray.init()
import modin.pandas as pd
pd.read_csv("some_path")
Some command prompt windows open and close (their path refers to ray), then the line : ================================ RESTART: Shell ================================ is shown (with no error code so I can't know what went wrong) After that whatever the pandas command I try to run in the IDLE window, I get the error "NameError : name 'pd' is not defined".
The problem seems to come from IDLE, because I tried to run it directly from command prompt, and the code worked as intended.
So i tried theese solutions, that all failed :
-Computer reboots
-Check if there was several python installations
-Uninstalling, redownloading an reinstalling all modules
-Uninstalled completely python and reinstalling (3.9)
I found log saying the error comes from ray, and that the root cause is logged in dashboard_agent.log
The refered log is not saved at each run, but I found 2 of them and they warn about a missing module.
I installed the missing module, re-ran the script multiple times, and the script is still not working, the logs are still referring to a log that is no longer generated when I try to run the code,at least in 20 attempts .