Forum Discussion
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
- Hannes_Rapp
Nimbostratus
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).
- Chanan_Berler_3
Nimbostratus
Found the issue - was a common python mistake. No issue here.
- flypast
Altostratus
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)
- Praveen2514_343
Nimbostratus
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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com