cisagov / untitledgoosetool

Untitled Goose Tool is a robust and flexible hunt and incident response tool that adds novel authentication and data gathering methods in order to run a full investigation against a customer’s Azure Active Directory (AzureAD), Azure, and M365 environments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error installing tool via pip - "goosey required Python version: 3.10.11"

tmaiorca opened this issue · comments

As per the requirements tool's prerequisites:

  • Python 3.7, 3.8, 3.9, or 3.10 is required to run Untitled Goose Tool with Python.

With Python 3.9 or 3.10 installed and running in a virtual environment, I'm receiving the following error on Windows 11 when installing via python3 -m pip install . :
ERROR: Package 'goosey' requires a different Python: 3.10.11 not in '<=3.10.10,>=3.7'

Attempted Python versions:

  • 3.9.13
  • 3.10.9
  • 3.10.11

image

The readme needs to be updated with Python 3.7, 3.8, 3.9, or 3.10 (3.10.10 is the last supported version).

Are you able to show me the output of when you are running Python version 3.9.13 or 3.10.9? Run python3 --version and then python3 -m pip install . and show me the output.

The readme needs to be updated with Python 3.7, 3.8, 3.9, or 3.10 (3.10.10 is the last supported version).

Are you able to show me the output of when you are running Python version 3.9.13 or 3.10.9? Run python3 --version and then python3 -m pip install . and show me the output.

So, I'm getting different versions returned when running python --version (3.9.13) and python3 --version (3.10.11). I downloaded the python 3.9.13 Windows installer directly from the python website. Any idea why 3.10.11 is being installed for python3?

image

I'm not really sure why you have multiple versions of Python on your machine, but since Python 3.9.13 is installed as python, you could run python -m pip install . instead of python3 in order to pass the Python version check. If you don't want 3.10.11 on your machine, you could always uninstall it.

I'm not really sure why you have multiple versions of Python on your machine, but since Python 3.9.13 is installed as python, you could run python -m pip install . instead of python3 in order to pass the Python version check. If you don't want 3.10.11 on your machine, you could always uninstall it.

I was able to install Goose tool by running python -m pip install . since this referenced the 3.9.13 version, as opposed to running python3 -m pip install . which presumably references the 3.10.11 version.

I'm not sure why python 3.10.11 is getting installed alongside the 3.9.13 installer. In fact, it's not showing as being installed in the control panel or via WMI.

Thanks for your help!