-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trouble installing infoblox-client on Windows 10 via pip install #303
Comments
Hi @keschae, we have a lot of issues in our bucket right now, I will get back to you as soon as possible. |
Hi @keschae, I tried installing infoblox-client in fresh setup with python 3.8 and it got successfully installed. |
The problem that I have is with the netifaces module. It seems to want to build that module with MS C++. I am working in a corporate environment where I am not allowed to install the Visual C++ build tools but it seems as though I have a recent version of the Visual C++ 2019 Redistributable. What are my options? Can I use a precompiled binary? |
Hi @keschae, I would suggest you to use python 3.8 stable version as we are facing netifaces module error in latest python 3.10 version. |
This installs fine on Linux (probably MacOS too). Windows is the trouble. In a corporate environment we are not allowed to install Visual C++ build tools. It's best if we have pure Python packages that don't need to be compiled. netifaces probably doesn't do much within the library could it be excluded and still get most of the functionality. |
Good suggestion I'll try that. |
Hi @keschae Can you try and confirm if this works for you and if I can close this issue. |
No. It doesn't really work for me because there is no longer a Python Windows installer. Only tar.gz updates for Python 3.8. In my company it is the same. I can't go back to Python 3.8. I hope you can remove that netifaces dependency in the future. Otherwise, unfortunately I cannot benefit from infoblox-client. |
Hi @keschae Here is the solution for installing infoblox-client in higher python version. install python setup tools Do let me know if this worked for you. |
Hi @keschae, Can you confirm this the solution worked for you, if yes can we proceed to close this issue? |
Running setup.py install for netifaces ... error × Running setup.py install for netifaces did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. |
I tried your suggestion of installing a specific version of "setuptools". I still have the same problem as before. As you can see it fails because I don't have Visual C++ build tools. I believe Visual C++ Build tools do not have an open source license. Therefore I cannot install them on my work computer. I can install them on my home personal computer. But this infoblox-client Python module installs fine on my Linux computer. |
Hi @keschae, we are still exploring the options to resolve this issue, we will target this issue in our next release. |
Same issue here. Getting rid of that massive "oslo.log' external dependency looks like the best way forward. Or at least make it non-default requirement by moving is to the "extra" requirements. The amount of extra packages it requires is mind boggling. |
Hi @jobec, we are working on the solution but meanwhile can you try the workaround and install visual C++ build tools and setup tools as I have mentioned above. |
Sorry, but that's not a feasible option.
|
The other dealbreaker is this build tool does not have an open source license from Microsoft. It is a more restrictive license and it is not free and open. I would hope you could achieve the same functionality with something that meets has true open source license. |
Bumping this issue. It's an issue with python versions greater than 3.8 on Windows I believe, not just a Win10 issue with the package. I have the same problems as the others; I cannot arbitrarily install things on my machine like Visual Studio because it's a corporate environment where I do not have administrative rights to install arbitrary things. Also, it's an absurd requirement to begin with -- install the entirety of Visual Studio (6GB+) so you can compile one tiny package that just gets network interfaces cross-platform? That's insane. Also, fwiw, on the PyPI page for netifaces the maintainer says that they cannot maintain the project anymore. Seems like a good time to find a different dependency (or step up and offer to help maintain it!). Or do as others have suggested in this thread and simply move the specific functionality into an "extras" that could be installed if users wanted to install it rather than gatekeeping the entire library behind this one dependency. Searching through the repo on GitHub, I can't even find where Edit 1: - oslo.serialization [required: >=1.4.0, installed: 4.3.0]
- msgpack [required: >=0.5.2, installed: 1.0.3]
- oslo.utils [required: >=3.33.0, installed: 4.13.0]
- debtcollector [required: >=1.2.0, installed: 2.5.0]
- wrapt [required: >=1.7.0, installed: 1.14.0]
- iso8601 [required: >=0.1.11, installed: 1.0.2]
- netaddr [required: >=0.7.18, installed: 0.8.0]
- netifaces [required: >=0.10.4, installed: 0.11.0]
- oslo.i18n [required: >=3.15.3, installed: 5.1.0]
- pbr [required: >=2.0.0,!=2.1.0, installed: 5.8.1]
- packaging [required: >=20.4, installed: 21.3]
- pyparsing [required: >=2.0.2,!=3.0.5, installed: 3.0.8]
- pbr [required: >=2.0.0,!=2.1.0, installed: 5.8.1]
- pyparsing [required: >=2.1.0, installed: 3.0.8]
- pytz [required: >=2013.6, installed: 2022.1]
- pbr [required: >=2.0.0,!=2.1.0, installed: 5.8.1]
- pytz [required: >=2013.6, installed: 2022.1] Which, when looking in Github at this project, is being imported and used in a few places...
They're also using the |
It's not the infoblox package that uses it, it's the
(version 0.4.22 because they broke authentication in long running daemons...) Grab a 🍿 and start scrolling....
|
yep, haha, was just editing my comment to point that out @jobec! Thanks for the full thing though |
It"s fixed as easy as moving the oslo packages to an extras_require statement in |
I see a new release is pending, Python 3.10 is a reality and 3.11 is on the way! |
Hi @jobec, we are working on a release now and will resolve this issue. |
Hi team, any update on this issue? My organization is also blocked by this problem |
Hi, @Karthik-13 we have released our new version of infoblox-client v0.6.0 and it supports python3.9. Can you try our latest released plugin? |
Seems as netifaces has trouble building and running setup.py
The text was updated successfully, but these errors were encountered: