我试了几个小时,我明白了:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-UWeLSq-build/
Command '['/bin/sh', '/tmp/tmpkajulyzd', 'python2',
'/home/adi/Eclipse-Workspace/cumulus/parts/cumulus/install/usr/bin/pip2',
'install', '--global-option=build_ext',
'--global-option=-I/home/adi/Eclipse-Workspace/cumulus/parts/cumulus/install/usr/include/python2.7',
'--target', '/home/adi/Eclipse-Workspace/cumulus/parts/cumulus/install/usr/lib/python2.7/site-packages',
'.']' returned non-zero exit status 1我已经阅读了指南,我看过示例-- python是一个不需要依赖关系的小脚本的唯一例子。
编辑yaml的内容:
name: cumulus
version: "1.0.0"
summary: Test summary
description: Test description
confinement: devmode
apps:
cumulus:
command: python2 cumulus
parts:
cumulus:
plugin: python2
source: https://github.com/kd8bny/cumulus.git
source-type: git发布于 2016-07-27 13:15:46
问题是我有两个版本的pip:
sudo apt-get python-pip安装pip install -U pip setuptools安装显然,当第二个命令用于安装另一个版本的pip时,snapcraft不知道从哪里复制它。
https://askubuntu.com/questions/801388
复制相似问题