No module named 'serial' on adding an app to frappe site

I am facing a challenge adding an app to a frappe local site. I am using WSL which runs with Ubuntu 24.04.1. The error I get after running bench --site warehouse.localhost install-app warehousing is a ModuleNotFoundError: No module named ‘serial’. However I have both pyserial and serial installed in my env.

I have attempted the solutions on the same topic of uninstalling and reinstalling the modules using both pip and sudo apt as well as installing from the zipped file.