I am trying to assign licence in process studio but it is not showing the license is assigned. how to solve this issue?
You need to first assign the license at the portal to the proper user - Process Studio Menu.
Once that is done you can then login to the PS with that same user, then you will be able to login.