Description | This article helps to overcome the '.ConnectorError: Error importing module <name of the module>: 'NoneType' object has no attribute 'loader' (Module not available in env)\n Connector :: code-snippetV2.0.3' |
Scope | All supported versions of FortiSOAR. |
Solution |
sudo -u nginx /opt/cyops-integrations/.env/bin/pip3 freeze
2. To install the needed python module if not already present on the instance:
sudo -u nginx /opt/cyops-integrations/.env/bin/pip install <module_name> 3. To check the necessary packages required for using the modules in the connector:
sudo -u nginx /opt/cyops-integrations/.env/bin/pip show <module_name>
4. Add all the necessary and required modules in the 'Modules to import' block during the configuration of the connector on GUI. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.