Are you running macOS 10.15 Catalina? You cannot run iPhoto any longer on Catalina.
Try to open the iPhoto Library in Photos for Mac.
- Launch Photos while holding down the options key ⌥, until you are seeing the library chooser dialog.
- Select your iPhoto Library.
This will only work, if your iPhoto Library is on volume, that is compatible with Photos. It must not be on a volume, that has been used for Time Machine backups or is accessed over the network. The file system format should be MacOS Extended (Journaled) or APFS.
If your iPhoto Library is still on a backup drive, copy it to your system volume, provided you have enough free storage. Or move it to a different volume, see: Move your Photos library to save space on your Mac - Apple Support