GoodHound icon indicating copy to clipboard operation
GoodHound copied to clipboard

py2neo version issue

Open secdrill opened this issue 2 years ago • 6 comments

py2neo==2023.2.3 is known as py2neo-history.

if we try to install goodhound "pip install goodhound". It is showing error.

 pip install goodhound
Defaulting to user installation because normal site-packages is not writeable
Collecting goodhound
  Using cached goodhound-1.1.2-py3-none-any.whl (27 kB)
Collecting pandas==1.3.5 (from goodhound)
  Using cached pandas-1.3.5.tar.gz (4.7 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of goodhound to determine which version is compatible with other requirements. This could take a while.
Collecting goodhound
  Using cached goodhound-1.1.1-py3-none-any.whl (27 kB)
  Using cached goodhound-1.1.0-py3-none-any.whl (27 kB)
  Using cached goodhound-1.0.1-py3-none-any.whl (26 kB)
  Using cached goodhound-1.0.0-py3-none-any.whl (29 kB)
  Using cached goodhound-0.8.3-py3-none-any.whl (29 kB)
  Using cached goodhound-0.8.2-py3-none-any.whl (29 kB)
  Using cached goodhound-0.8.1-py3-none-any.whl (25 kB)
INFO: pip is still looking at multiple versions of goodhound to determine which version is compatible with other requirements. This could take a while.
  Using cached goodhound-0.8.0-py3-none-any.whl (25 kB)
ERROR: Cannot install goodhound==0.8.0, goodhound==0.8.1, goodhound==0.8.2, goodhound==0.8.3, goodhound==1.0.0, goodhound==1.0.1, goodhound==1.1.0, goodhound==1.1.1 and goodhound==1.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    goodhound 1.1.2 depends on py2neo==2021.2.3
    goodhound 1.1.1 depends on py2neo==2021.2.3
    goodhound 1.1.0 depends on py2neo==2021.2.3
    goodhound 1.0.1 depends on py2neo==2021.2.3
    goodhound 1.0.0 depends on py2neo==2021.2.3
    goodhound 0.8.3 depends on py2neo==2021.2.3
    goodhound 0.8.2 depends on py2neo==2021.2.3
    goodhound 0.8.1 depends on py2neo==2021.2.3
    goodhound 0.8.0 depends on py2neo==2021.2.3

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

can anyone help me out please

secdrill avatar Dec 11 '23 15:12 secdrill

I have also installed py2neo-history (that is 2023.2.3) https://pypi.org/project/py2neo-history/ but it has not worked.

secdrill avatar Dec 11 '23 15:12 secdrill

same for me.

DrorDvash avatar Dec 17 '23 22:12 DrorDvash

You'll probably see that I haven't been maintaining GoodHound for around 18 months now due to a change in role.

I will see if I can find some time in the next few weeks to update.

idnahacks avatar Dec 18 '23 10:12 idnahacks

Thanks for your email

Yeah we are waiting for the updated goodhound. Thanks

On Mon, 18 Dec 2023 at 3:44 PM, idna @.***> wrote:

You'll probably see that I haven't been maintaining GoodHound for around 18 months now due to a change in role.

I will see if I can find some time in the next few weeks to update.

— Reply to this email directly, view it on GitHub https://github.com/idnahacks/GoodHound/issues/72#issuecomment-1860017164, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARLKXRTBXLIUOPH4Y4OXMBTYKAJR7AVCNFSM6AAAAABAP5GTJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRQGAYTOMJWGQ . You are receiving this because you authored the thread.Message ID: @.***>

secdrill avatar Dec 18 '23 10:12 secdrill

Can you try this workaround?

Build Goodhound straight from GitHub code:

git clone https://github.com/idnahacks/GoodHound.git
cd GoodHound

Then edit requirements.txt to reflect the below:

pandas>=1.3.5
py2neo>=2021.2.3

Then build from pip

pip install -r requirements.txt
python -m goodhound -h

idnahacks avatar Dec 18 '23 10:12 idnahacks

Caveat, I haven't tested goodhound with any version of Sharphound past 4.1 or the above py2neo and pandas versions.

idnahacks avatar Dec 18 '23 10:12 idnahacks