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

ImportError: No module named cerberus #94

Closed
BetaMaxHeadroom opened this issue Apr 24, 2020 · 3 comments
Closed

ImportError: No module named cerberus #94

BetaMaxHeadroom opened this issue Apr 24, 2020 · 3 comments

Comments

@BetaMaxHeadroom
Copy link

Thank you for making this tool. But, I'm having real issues with installing it. I followed the instructions line by line in Kali Linux. But, I cannot get this this to work. I have the below error:

Traceback (most recent call last):
File "changeme.py", line 3, in
from changeme import core
File "/usr/share/changeme/changeme/core.py", line 2, in
from cerberus import Validator
ImportError: cannot import name 'Validator' from 'cerberus' (/usr/local/lib/python3.8/dist-packages/cerberus/init.py)

I did what I could to debug it. I've installed, removed, and reinstalled multiple times. The only thing that I can really see is that someone had an issue, and never followed up: #92

Can you please help me understand what the issue could be? Thank you so much for your time.

@ztgrace
Copy link
Owner

ztgrace commented Apr 25, 2020

If you're in Kali, the latest stable release is available via apt install changeme: https://pkg.kali.org/news/374202/changeme-121-1-imported-into-kali-rolling/

If you're looking to install it manually, try using a python virtual environment.

$ virtualenv -p /usr/bin/python3 venv
$ source venv/bin/activate
$ venv/bin/pip3 install -r requirements.txt

If either of these options don't work, please post the output of venv/bin/pip3 freeze here.

@BetaMaxHeadroom
Copy link
Author

Thank you for your help. I really appreciate it.

I still get the same error when installing this via apt. I will look into installing it in a virtual environment. Thank you for your help.

@BetaMaxHeadroom
Copy link
Author

Installing this in a virtual environment seems to have done the trick. Thank you for being so awesome.

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

2 participants