Problem with requirements
Hi,
I've followed the installation steps and guide given in the wiki page, but I`ve got this error while starting via python ohp.py --start-api-server and the same error in docker compose: ImportError: cannot import name 'url_quote' from 'werkzeug.urls'
I`ve googled it and I understood that version of werkzeug must be the same as flask version, so I`ve updated requrements.txt
Than I`ve got this error:
OS: Ubuntu
OS Version: 22.04
Python Version: 3.10.12
Hello. Dirty solution is replace "import" to "print" as example, in file /core/compatible.py, in function "check_for_requirements(start_api_server)". It should go like this:
for module_name in external_modules: try: print( module_name.split('==')[0] if 'library_name=' not in module_name else module_name.split('library_name=')[1].split()[0] ) except Exception: exit_failure( "pip3 install -r requirements.txt ---> " + module_name + " not installed!" )
This will disable dependency checking and allow honeypot to run, so you can see the modules being checked in this function. However, this may cause other bugs, so you should find the right solution to the problem