$ pdm install
All packages are synced to date, nothing to do.
Installing the project as an editable package...
  ✔ Update ecp5-pcie 0.0.1+editable -> 0.0.1 successful

🎉 All complete!


yanla@Darkside MINGW64 ~/ECP5-PCIe/Gateware
$ pdm run ../Tests/test_pcie_serdes_x4.py
Traceback (most recent call last):
  File "C:/msys2/home/yanla/ECP5-PCIe/Tests/test_pcie_serdes_x4.py", line 1, in <module>
    from amaranth import *
ModuleNotFoundError: No module named 'amaranth'