Cannot open vs code in unity

Hello, I recently erase my MacBook memory and now have to re-download unity and vscode. I used a Post-secondary students license and now the Visual Studio Editor in package managers is not letting me unlock it ( I unlock it and after I close and re-open package managers, it still the same). Also this might be related but I also can’t open vscode in unity. I need to turn in a project for my class this weekend and I don’t know what to do. pls help me