Forum Discussion

Nasim_67664's avatar
Icon for Nimbostratus rankNimbostratus
Jan 09, 2018

Getting module 'signal' has no attribute 'SIGALRM' error from f5-sdk on Windows



I am trying to use python sdk for F5 from here I am on Windows. I am running Python 3 (tried python 3.3.5 and python 3.5.4). I am getting the following error when I run this (some information masked):


from import ManagementRoot


mgmt = ManagementRoot("...", "...", "...")


File "...\lib\site-packages\f5\", line 150, in init self.post_configuration_setup()


File "...\lib\site-packages\f5\", line 111, in post_configuration_setup self._get_tmos_version()


File "...\lib\site-packages\f5\", line 117, in _get_tmos_version signal.signal(signal.SIGALRM, timeout_handler)


AttributeError: module 'signal' has no attribute 'SIGALRM'


Pip shows it installed version 3.0.8 of f5-sdk.


How can I run this from python?




2 Replies