byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.37k stars 1.64k forks source link

asn1crypto installation error #389

Closed LarmonH closed 4 years ago

LarmonH commented 4 years ago

After running:

    python3 setup.py install

from inside a pipenv shell, I receive the error:

    Installed /usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg
    Processing dependencies for crackmapexec==5.0.2.dev0
    error: asn1crypto 0.24.0 is installed but asn1crypto>=1.3.0 is required by {'minikerberos'}

I have attempted to install asn1crypto 1.3.0 using:

    pip3 install asn1crypto==1.3.0

but this doesn't seem to work.

mpgn commented 4 years ago

Maybe try pip3 install asn1crypto --update --user

LarmonH commented 4 years ago

Maybe try pip3 install asn1crypto --update --user

Do I do this inside of a pipenv shell because if so I get

    no such option: --update
mpgn commented 4 years ago

--upgrade or print help

LarmonH commented 4 years ago

I get the following error:

    ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
sebrink commented 4 years ago

I was having the same issue on a default install of ubuntu 18.04 minimal (did not set it up in a virtualenv).

I ran pip3 install --upgrade asn1crypto --user and it fixed it.

LarmonH commented 4 years ago

Wow, @sebrink that simple syntax change actually fixed it, many thanks to both of you!