Using Python27 as the default Python, maybe
I hope this makes sense
I'm currently setting up a system using a software package called Cortex.
https://github.com/TheHive-Project/Cortex
It uses a number of plugins that it calls Analyzers that run in either Python 2 or Python3.
https://github.com/TheHive-Project/Cortex-Analyzers/
I installed python27 and rh-python36 from SCL and installed the dependencies fine.
When cortex runs the analysers it fails because it can't find the required module. from python, I suspect it's because it's not running the right version of Python.
I'm curious about if there is away where I can configure the Cortex application (runs under it's own user) to use the correct version of python.
Thanks.
Invalid output
Traceback (most recent call last):
File "VirusTotal/virustotal.py", line 8, in <module>
from cortexutils.analyzer import Analyzer
ImportError: No module named cortexutils.analyzer
{
"errorMessage": "Invalid output\nTraceback (most recent call last):\n File \"VirusTotal/virustotal.py\", line 8, in <module>\n from cortexutils.analyzer import Analyzer\nImportError: No module named cortexutils.analyzer\n",
"input": null,
"success": false
}