Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py2neo version issue #72

Open
secdrill opened this issue Dec 11, 2023 · 6 comments
Open

py2neo version issue #72

secdrill opened this issue Dec 11, 2023 · 6 comments

Comments

@secdrill
Copy link

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
Copy link
Author

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

@DrorDvash
Copy link

same for me.

@idnahacks
Copy link
Owner

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.

@secdrill
Copy link
Author

secdrill commented Dec 18, 2023 via email

@idnahacks
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants