question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing F5 via `pip` fails to install dependencies

See original GitHub issue

f5-sdk 2.3.1:

 mkvirtualenv f5-test
Using base prefix '/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5'
New python executable in /Users/gabdav01/.virtualenvs/f5-test/bin/python3.5
Also creating executable in /Users/gabdav01/.virtualenvs/f5-test/bin/python
Installing setuptools, pip, wheel...done.
virtualenvwrapper.user_scripts creating /Users/gabdav01/.virtualenvs/f5-test/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/gabdav01/.virtualenvs/f5-test/bin/postdeactivate
virtualenvwrapper.user_scripts creating /Users/gabdav01/.virtualenvs/f5-test/bin/preactivate
virtualenvwrapper.user_scripts creating /Users/gabdav01/.virtualenvs/f5-test/bin/postactivate
virtualenvwrapper.user_scripts creating /Users/gabdav01/.virtualenvs/f5-test/bin/get_env_details
(f5-test)
$ pip install f5-sdk
Collecting f5-sdk
Installing collected packages: f5-sdk
Successfully installed f5-sdk-2.3.1
$ python
Python 3.5.2 (default, Oct 11 2016, 21:06:00)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import f5
>>> from f5.bigip import ManagementRoot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/gabdav01/.virtualenvs/f5-test/lib/python3.5/site-packages/f5/bigip/__init__.py", line 20, in <module>
    from icontrol.session import iControlRESTSession
ImportError: No module named 'icontrol'
>>>

$ pip list  --format=columns
Package    Version
---------- -------
appdirs    1.4.3
f5-sdk     2.3.1
packaging  16.8
pip        9.0.1
pyparsing  2.2.0
setuptools 34.4.0
six        1.10.0
wheel      0.29.0

$ pip show -v f5-sdk
Name: f5-sdk
Version: 2.3.1
Summary: F5 Networks Python SDK
Home-page: https://github.com/F5Networks/f5-common-python
Author: F5 Networks
Author-email: f5_common_python@f5.com
License: Apache License, Version 2.0
Location: /Users/gabdav01/.virtualenvs/f5-test/lib/python3.5/site-packages
Requires:
Metadata-Version: 2.0
Installer: pip
Classifiers:
  Development Status :: 5 - Production/Stable
  License :: OSI Approved :: Apache Software License
  Operating System :: OS Independent
  Programming Language :: Python
  Intended Audience :: System Administrators
Entry-points:
  [pytest11]
  f5sdk_fixtures = f5sdk_plugins.fixtures

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
caphrim007commented, Aug 26, 2017

@mindw I was able to repro this for Python3. I’ve submitted a fix which appears to fix it in the environments I have. I think it will satisfy your env too.

0reactions
caphrim007commented, Nov 7, 2017

@jaymmodi open a new issue and provide details of your working environment please.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: F5-SDK Installation - DevCentral
1. Executed this command on Centos8 pip install f5-sdk · 2. Excuted Python3 command and tried executed below commands: · 3. I am...
Read more >
pip install fails to install dependencies - python - Stack Overflow
I've created a built distribution wheel and uploaded it to testPyPI to see if everything is working with the upload and if the...
Read more >
Get Started Tutorial for Python in Visual Studio Code
Getting Started with Python in VS Code. In this tutorial, you use Python 3 to create the simplest Python "Hello World" application in...
Read more >
Pip and Python in Visual Studio Code - Codewrecks
... named xxx error when you already installed that module with pip. ... F5 that specific version is used and probably you did...
Read more >
terraform-aws-modules/lambda/aws
8" # Setting runtime is required when building package in Docker and Lambda Layer resource. Using this module you can install dependencies from ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found