Suggest rather do not enable the root account. Just create a second regular user. If you need to use the privileged account you can ‘su’ to it (this can be disabled) and then do the sudoing you need, however I find that 75% of times at least, sudo is used unnecessarily and you could do a user install. Pip, for example, supports --user install as well as to virtualenv. Installation from tarball can go anywhere as well.
For most things on the Ubuntu desktop that require it, you will be prompted for the sudo user’s password from an unprivileged one if it is needed (Software app, for example, will do this, Settings is another).
Please feel free to ask back here for advice if you want to avoid a sudo and do a user install of x thing instead. This will allow you to compartmentalize your users (one for one project, one for another) with minimal actual modifications to the underlying syste. If you mess up a user, simply delete the user and create a new one, keeping what you want. At least that is what I do.