fix for TypeError: 'list' object is not callable in venv module