我有一个要复制和运行的frappe项目,我已经解决了google-gax
和其他依赖项的兼容性问题,但是现在出现了一个新问题,没有明确的详细说明,所以我我要把整个东西都贴出来
Checking out files: 100% (4440/4440), done.
('installing', u'matajer')
INFO:bench.app:installing matajer
INFO:bench.utils:./env/bin/pip install -q -e ./apps/matajer
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Exception:
Traceback (most recent call last):
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
status = self.run(options, args)
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 315, in run
resolver.resolve(requirement_set)
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_internal/resolve.py", line 131, in resolve
self._resolve_one(requirement_set, req)
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_internal/resolve.py", line 294, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_internal/resolve.py", line 226, in _get_abstract_dist_for
req, self.require_hashes, self.use_user_site, self.finder,
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 386, in prepare_editable_requirement
req.check_if_exists(use_user_site)
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 402, in check_if_exists
self.req.name
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 479, in get_distribution
dist = get_provider(dist)
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 355, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 898, in require
needed = self.resolve(parse_requirements(requirements))
File "/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 789, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (requests-toolbelt 0.9.1 (/Users/abdul-elah/frappe-bench/env/lib/python2.7/site-packages), Requirement.parse('requests-toolbelt==0.7.0'), set(['pyrebase']))
Traceback (most recent call last):
File "/Users/abdul-elah/Library/Python/2.7/bin/bench", line 11, in <module>
load_entry_point('bench', 'console_scripts', 'bench')()
File "/Users/abdul-elah/bench-repo/bench/cli.py", line 40, in cli
bench_command()
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/abdul-elah/bench-repo/bench/commands/make.py", line 40, in get_app
get_app(git_url, branch=branch)
File "/Users/abdul-elah/bench-repo/bench/app.py", line 135, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File "/Users/abdul-elah/bench-repo/bench/app.py", line 171, in install_app
find_links=find_links))
File "/Users/abdul-elah/bench-repo/bench/utils.py", line 159, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install -q -e ./apps/matajer
运行bench get-app https://github.com/my-app
时弹出此错误