You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/kali/Desktop/tools/o365spray/o365spray/main.py", line 11, in
from o365spray import version
ModuleNotFoundError: No module named 'o365spray'
Issue after running the installation in the following way
Can you provide some more information here -- what version of the tool are you attempting to run?
Looking at your command, you appear to be invoking o365spray as if you installed it as a local package vs. your install command only installing the dependencies. Testing locally I am unable to reproduce.
Side note: The --proxy-url flag is explicitly for FireProx API usage - based on your proxy value, you will likely want to use the --proxy flag instead.
Hi, I encountered the same issue. It has to do with installing o365spray using the setup script (e.g. python3 setup.py install) to have the o365spray command available everywhere.
It would run only when started from main o365spray folder.
The issue seems to be fixed by adding __init__.py files to each sub folder before installation, I've forked it and will perform a merge request, feel free to decline or ignore and implement other fixes as desired.
o365spray --validate --domain test.com --proxy-url https://127.0.0.1:8080
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/kali/Desktop/tools/o365spray/o365spray/main.py", line 11, in
from o365spray import version
ModuleNotFoundError: No module named 'o365spray'
Issue after running the installation in the following way
git clone https://github.com/0xZDH/o365spray.git
cd o365spray
pip install -r requirements.txt
The text was updated successfully, but these errors were encountered: