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

AttributeError: 'module' object has no attribute 'ABC' #253

Open
jam-hakimjonov opened this issue Aug 19, 2020 · 1 comment
Open

AttributeError: 'module' object has no attribute 'ABC' #253

jam-hakimjonov opened this issue Aug 19, 2020 · 1 comment

Comments

@jam-hakimjonov
Copy link

Traceback (most recent call last):
File "/usr/local/bin/git-auto-deploy", line 11, in
load_entry_point('git-auto-deploy==0.17', 'console_scripts', 'git-auto-deploy')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2693, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2324, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2330, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/git_auto_deploy-0.17-py2.7.egg/gitautodeploy/init.py", line 3, in
from .gitautodeploy import *
File "/usr/local/lib/python2.7/dist-packages/git_auto_deploy-0.17-py2.7.egg/gitautodeploy/gitautodeploy.py", line 24, in
from .wsserver import WebSocketClientHandlerFactory
File "/usr/local/lib/python2.7/dist-packages/git_auto_deploy-0.17-py2.7.egg/gitautodeploy/wsserver.py", line 4, in
from autobahn.websocket import WebSocketServerProtocol
File "/usr/local/lib/python2.7/dist-packages/autobahn-20.7.1-py2.7.egg/autobahn/websocket/init.py", line 28, in
from autobahn.websocket.types import ConnectionRequest, ConnectionResponse,
File "/usr/local/lib/python2.7/dist-packages/autobahn-20.7.1-py2.7.egg/autobahn/websocket/types.py", line 27, in
from autobahn.util import public
File "/usr/local/lib/python2.7/dist-packages/autobahn-20.7.1-py2.7.egg/autobahn/util.py", line 41, in
import txaio
File "/usr/local/lib/python2.7/dist-packages/txaio-20.4.1-py2.7.egg/txaio/init.py", line 29, in
from txaio.interfaces import IFailedFuture, ILogger
File "/usr/local/lib/python2.7/dist-packages/txaio-20.4.1-py2.7.egg/txaio/interfaces.py", line 41, in
class IBatchedTimer(abc.ABC):
AttributeError: 'module' object has no attribute 'ABC'

@jam-hakimjonov
Copy link
Author

jam-hakimjonov commented Aug 19, 2020

Solved:
removed dist-packages folders:
/usr/local/lib/python2.7/dist-packages/txaio-20.4.1-py2.7.egg/
/usr/local/lib/python2.7/dist-packages/autobahn-20.7.1-py2.7.egg/
/usr/local/lib/python2.7/dist-packages/git_auto_deploy-0.17-py2.7.egg/

Hint: It occurs if you try to install it via setup.py install

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