Before that, I used the NUC and Kasli purchased from m-labs, and during the installation of Artiq, there was no need to Flash gateware and firmware into the core device.Now I got a new win10 device to connect kasli, does it mean that I have to do Flashing gateware and firmware into the core device this time during the installation of artiq. if yes, I forgot my username and password, can you please provide me some help.

You do not need to reflash the firmware/gateware, but you should make sure that the ARTIQ software you are running on your win10 device is the same version as on the NUC.

    srenblad Thanks for the reply, but when I run a simple led.py the following error is reported
    (artiq) D:\anaconda3\envs\artiq\site-packages\artiq\tessst>artiq_run led.py
    Traceback (most recent call last):
    File "D:\anaconda3\envs\artiq\Scripts\artiq_run-script.py", line 5, in <module>
    from artiq.frontend.artiq_run import main
    ModuleNotFoundError: No module named 'artiq'

    srenblad Yeah, I ran it.
    `(artiq) D:\anaconda3\envs\artiq\site-packages\artiq\tessst>conda activate artiq

    (artiq) D:\anaconda3\envs\artiq\site-packages\artiq\tessst>artiq_run led.py
    Traceback (most recent call last):
    File "D:\anaconda3\envs\artiq\Scripts\artiq_run-script.py", line 5, in <module>
    from artiq.frontend.artiq_run import main
    ModuleNotFoundError: No module named 'artiq'`