If your photos are in an older iPhoto Library, you can open the iPhoto Library in Photos 3.0 to create a new Photos Library from the iPhoto Library. Photos can directly open Libraries from iPhoto '11, version 9.xx, or iPhoto '09, version 8.x.x. If the iPhoto Library has been created with an older iPhotoversion (iPhoto 7.x.x or older), you have to prepare the library with iPhoto Library upgrader tool, before Photos can work with it. This has to be done, while you are still having a Mac with macOS 10.14 or older. The iPhoto Library upgrader cannot be used on the more recent 64-bit only system versions. The download link for the iPhoto Library upgrader is here:
iPhoto '11: About the Library Upgrader