I start to have this problem after upgrading the license server from Lumerical to ANSYS. I am running my python script from Spyder because I am using pandas and other packages that are not available with Lumerical python. It was running fine with 2021 but once I updated to 2022 I start to have this issue.