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

安装报错(sh admin.sh migration) #1099

Open
baoming158 opened this issue Mar 17, 2020 · 7 comments
Open

安装报错(sh admin.sh migration) #1099

baoming158 opened this issue Mar 17, 2020 · 7 comments
Assignees
Labels

Comments

@baoming158
Copy link

问题描述

SETUPTOOLS WILL STOP WORKING <<<
in a subsequent release (no sooner than 2020-04-20).
Please ensure you are installing
Setuptools using pip 9.x or later or pin to setuptools<45
in your environment.
If you have done those things and are still encountering
this message, please comment in
pypa/setuptools#1458
about the steps that led to this unsupported combination.


sys.version_info < (3,) and warnings.warn(pre + "" * 60 + msg + "" * 60)
Usage: flask db upgrade [OPTIONS] [REVISION]

Error: While importing "waller", an ImportError was raised:

Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python2.7/site-packages/flask/cli.py", line 235, in locate_app
import(module_name)
File "/home/ubuntu/baoming/walle/walle-web/waller.py", line 6, in
from walle.app import create_app
File "/home/ubuntu/baoming/walle/walle-web/walle/app.py", line 16, in
from walle.api import deploy as DeployAPI
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/baoming/walle/walle-web/walle/api/deploy.py", line 14, in
from walle.service.deployer import Deployer
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/baoming/walle/walle-web/walle/service/deployer.py", line 25, in
from walle.service.git.repo import Repo
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/baoming/walle/walle-web/walle/service/git/repo.py", line 14, in
import git as PyGit
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/.local/lib/python2.7/site-packages/git/init.py", line 38, in
from git.exc import * # @nomove @IgnorePep8
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/.local/lib/python2.7/site-packages/git/exc.py", line 9, in
from git.compat import UnicodeMixin, safe_decode, string_types
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/.local/lib/python2.7/site-packages/git/compat.py", line 16, in
from gitdb.utils.compat import (
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
ImportError: No module named compat

Migration: [ fail ]

运行环境

  • OS: [e.g. ubuntu]
@VictorDeping
Copy link

我也遇到这个错误了,问题解决了吗

@linux724
Copy link

我安装也遇到错误了。不知道如何解决。
不过我又找到一个很好用的开源运维平台,基本上可以满足所有发布需求。https://github.com/openspug/spug

@baoming158
Copy link
Author

我也遇到这个错误了,问题解决了吗

没解决,这个平台不好用啊,作者都不回复!

@wzbooks
Copy link

wzbooks commented Mar 26, 2020

我也遇到了,以为是自己的问题搞了一天,没想到大家都遇到了。。。

@Intoseaworks
Copy link

这个问题让我把walle安装了很多遍,各种试,就是不行。有解决的回复下啊,感谢

@Intoseaworks
Copy link

参考
NervanaSystems / distiller#475

$ pip卸载gitdb2
$ pip安装gitdb2 == 2.0.6

谢谢,下次试下

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

No branches or pull requests

10 participants