I applied from within Canada, as I was already living up here on an open work permit since 2019 (applied for from the U.S). After that expired I stayed in visitor status for awhile during the worst of covid and then applied for a study permit also from within Canada in 2021 which was granted...