FortiSOAR Discussions
Jitesh
New Contributor III

Facing issue with FortiSOAR Connector Engine

Hi,
 
I'm writing to seek assistance with an installation issue I'm encountering while attempting to set up the FortiSOAR Connector Engine on my system.
 
Following the provided installation instructions, I executed the following commands:
 
However, I encountered the following error during the installation process:
 
PEP 440 for more details.
  warnings.warn(
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help
error: invalid command 'bdist_wheel'
 
I have verified that my Python environment is properly configured and that both setuptools and wheel are installed and up-to-date. Despite these measures, the error persists.
 
Could you please provide guidance on resolving this issue?
#fortisoar error snap shoterror snap shot
Jitesh Rathod
Jitesh Rathod
3 REPLIES 3
gankit
Staff
Staff

Hi Jitesh,

Try replacing the name=f'{s_name}' with 

name='fortisoar_connector_engine' and  version=f'{release_verion}-{build_num}', with 
version="1.0.0.1" under setup.py file and rerun the commands.
 
Jitesh
New Contributor III

Thank you for the quick response.

I made changes to setup.py according to your comments. The wheel build was successful.

However, after the wheel build, when I tried to install the package using the command:
pip3 install ./build/fortisoar_connector_engine-1.0.0-py3-none-any.whl

I encountered an error. Please see the screenshot attached.

It would be really helpful if you could provide the correct implementation of setup.py with the correct command.commandcommandsetup.pysetup.py

Jitesh Rathod
Jitesh Rathod
gankit

Hi Jitesh,

 

Please execute the command  

  • pip3 install <folder-path>/dist/fortisoar_connector_engine-1.0.0.1-py3-none-any.whl