Ladybug core in Rhino 8

Hi, I am working on developing some custom components with Ladybug Core. I installed ladybug code with -pip install ladybug-core, and it works well in Rhino 7, but now I need to update them to the Rhino 8 script component. but it didn’t import the ladybug core into Rhino 8. In addition, I tried to install the package on py27-rh8, but nothing changed. How can I have the library in the Python script component of Rhino 8?