configurePython function

Sets up a python environment to use for PLP (can be conda or venv)