See the documentation on this page, you might not have the right cable or it's not detecting due to a bad USB port or some other issue preventing it from detecting the inverter.
How to configure a Growatt SPF inverter in SolarAssistant.
solar-assistant.io