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

ModuleNotFoundError: No module named 'zapv2' #9

Open
M0dred opened this issue Sep 23, 2019 · 2 comments
Open

ModuleNotFoundError: No module named 'zapv2' #9

M0dred opened this issue Sep 23, 2019 · 2 comments

Comments

@M0dred
Copy link

M0dred commented Sep 23, 2019

python3 adapt.py

It seems that you have not run the installer script.
We will now run that briefly before continuing.
This script should no longer be run as root
Traceback (most recent call last):
File "adapt.py", line 47, in
from zap_interface import AdaptZap
File "/opt/github/adapt/src/zap_interface.py", line 23, in
from zapv2 import ZAPv2
ModuleNotFoundError: No module named 'zapv2'
root@K0walski:/opt/github/adapt# pip3 install zapv2
Collecting zapv2
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/zapv2/

@matthewD-AVI
Copy link
Collaborator

Hello M0rded,

Thank you for bringing this to my attention. I will look into this right away and will hopefully have a resolution shortly. I have an idea of what may be the problem and will investigate further.

@matthewD-AVI
Copy link
Collaborator

@M0dred I made some minor changes to the isntall script to fix some new dependency issues.
It also seems you were trying to run adapt.py/install.sh as root. These scripts should no longer be run as root. I would re-run install.sh without root access.

root@K0walski:/opt/github/adapt# pip3 install zapv2

The proper command to install zapv2 would be pip3 install python-owasp-zap-v2.4 but should be installed through the install.sh script

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