Mazars-Tech/AD_Miner

AD Miner install in Windows 10 via pipx drops error (Python 3.12.0)

Closed this issue · 5 comments

jd3141 commented

I just ran it from cmdline as shown in README and got this error: "module 'pkgutil' has no attribute 'ImpImporter'". Please help if possible.

pipx install 'git+https://github.com/Mazars-Tech/AD_Miner.git'
Fatal error from pip prevented installation. Full pip output in file:
    C:\Users\user\.local\pipx\logs\cmd_2023-10-03_12.07.56_pip_errors.log

pip seemed to fail to build package:
    neo4j==5.6.0

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

Error installing AD_Miner from spec 'git+https://github.com/Mazars-Tech/AD_Miner.git'.

Hi,

Thanks for reporting this. We've never tried on a Windows machine before. The issue seems to happen upstream as you can not get neo4j 5.6.0 installed. Not sure how I can help there but we will try to reproduce the issue. In the meantime, can you make sure that you are on the latest version of pip (not sure if this will help but it sure won't hurt).

jd3141 commented
$ pip -V
pip 23.2.1 from C:\Program Files\python\Lib\site-packages\pip (python 3.12)
$
jd3141 commented

This pip version (23.2.1) was installed as a part of the installation of Python 3.12.0

A little investigation seems to conclude that the issues comes, not from AD Miner, not even from neo4j but from python 3.12.0. Version 3.11.0 does not show dependencies issues so you might find a temporary solution in downgrading to 3.11.0

jd3141 commented

ok, thanks for looking into it.