Forum Discussion

Chanan_Berler_3's avatar
Chanan_Berler_3
Icon for Nimbostratus rankNimbostratus
Jan 28, 2017

No module named 'f5.bigip'; 'f5' is not a package

Hi All, I am running the most basic login from import ManagementRoot. Python v3.5, F5 SDK is installed.

 

Basic

from import ManagementRoot mgmt = ManagementRoot("bigip.example.com", "admin", "somepassword")

 

Error

C:\Users\chaber01\AppData\Local\Programs\Python\Python35\python.exe C:/Users/chaber01/Chanan/_platform/F5/Naim/ Traceback (most recent call last): File "C:/Users/chaber01/Chanan/_platform/F5/Naim/;, line 1, in from import ManagementRoot File "C:\Users\chaber01\Chanan_platform\F5\Naim\;, line 1, in from import ManagementRoot ImportError: No module named ''; 'f5' is not a package

 

 

4 Replies

  • Did you install f5-sdk with 'pip install f5-sdk'? If so, it might work with py2.x but not with py3.x. Try if the same works with python2 interpreter.

     

    To install f5-sdk for Python 3.x, try 'pip3 install f5-sdk'. You may first have to install pip3 itself for this to work. Alternatively, go to 'https://pypi.python.org/pypi/f5-sdk', and manually download the latest tar.gz file (v2.2.2 the latest as of today).

     

  • hi mate, how you fix the issue? My python verison is 2.7.5.

     

    I have got f5-sdk installed already by pip install f5-sdk

     

    f5-icontrol-rest (1.3.0) f5-sdk (2.3.1)

     

  • Hey, I still receive the same error "No module named ''; 'f5' is not a package". Do we have any other alternatives? Can you please give your suggestions and I am using Python 3.5.2.