Skip to content
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

Is kubetop supported on Windows 10? #66

Open
thearifismail opened this issue Oct 27, 2018 · 0 comments
Open

Is kubetop supported on Windows 10? #66

thearifismail opened this issue Oct 27, 2018 · 0 comments

Comments

@thearifismail
Copy link

OS: Windows 10 Enterprise
Following is the error, I get after installing in Cygwin. Prior to trying on Cygwin, I had installed kubetop by first installing python using python-3.7.1-amd64.exe and had encountered similar error.

==========
$ kubetop
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/twisted/application/twist/_options.py", line 28, in
class TwistOptions(Options):
File "/usr/lib/python3.6/site-packages/twisted/application/twist/_options.py", line 75, in TwistOptions
'"{}"'.format(rt.shortName) for rt in getReactorTypes()
File "/usr/lib/python3.6/site-packages/twisted/application/twist/_options.py", line 75, in
'"{}"'.format(rt.shortName) for rt in getReactorTypes()
File "/usr/lib/python3.6/site-packages/twisted/plugin.py", line 213, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/lib/python3.6/site-packages/twisted/plugin.py", line 171, in getCache
provider = pluginModule.load()
File "/usr/lib/python3.6/site-packages/twisted/python/modules.py", line 392, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/usr/lib/python3.6/site-packages/twisted/python/reflect.py", line 308, in namedAny
topLevelPackage = importAndCheckStack(trialname)
File "/usr/lib/python3.6/site-packages/twisted/python/reflect.py", line 247, in importAndCheckStack
return import(importName)
File "/usr/lib/python3.6/site-packages/twisted/plugins/twisted_core.py", line 6, in
from twisted.internet.endpoints import (
File "/usr/lib/python3.6/site-packages/twisted/internet/endpoints.py", line 30, in
from twisted.internet.address import (
File "/usr/lib/python3.6/site-packages/twisted/internet/address.py", line 23, in
class IPv4Address(object):
File "/usr/lib/python3.6/site-packages/twisted/internet/address.py", line 37, in IPv4Address
type = attr.ib(validator=attr.validators.in
(["TCP", "UDP"]))
builtins.AttributeError: module 'attr.validators' has no attribute 'in
'

Traceback (most recent call last):
File "/usr/bin/kubetop", line 7, in
from kubetop._script import main
File "/usr/lib/python3.6/site-packages/kubetop/_script.py", line 26, in
from ._runmany import run_many_service
File "/usr/lib/python3.6/site-packages/kubetop/_runmany.py", line 17, in
from twisted.internet.task import deferLater
File "/usr/lib/python3.6/site-packages/twisted/internet/task.py", line 25, in
from twisted.internet import base, defer
File "/usr/lib/python3.6/site-packages/twisted/internet/base.py", line 27, in
from twisted.internet.resolver import (
File "/usr/lib/python3.6/site-packages/twisted/internet/resolver.py", line 25, in
from twisted.internet.address import IPv4Address, IPv6Address
File "/usr/lib/python3.6/site-packages/twisted/internet/address.py", line 23, in
class IPv4Address(object):
File "/usr/lib/python3.6/site-packages/twisted/internet/address.py", line 37, in IPv4Address
type = attr.ib(validator=attr.validators.in
(["TCP", "UDP"]))
AttributeError: module 'attr.validators' has no attribute 'in
'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant