我在我的Win7机器上安装了Python 2.7.8,它已预先安装了pip.
我已成功地从pip安装新软件包,现在我需要将自定义存储库URL添加到pip的安装列表中
为此,我需要根据官方手册修改pip.ini哪个文件夹
但是没有任何文件夹(不在,不在,不在),也没有文件夹在:%APPDATA%\pip\pip.ini pipRoamingLocalLocalLowPyPaC:\ProgramData\PyPA\pip\pip.conf
你能告诉我在哪里搜索pip.ini吗?如何将外国仓库添加到安装列表?
我将通过 Cloudify 文档并尝试在我们的 AWS 中部署它
我确实从GitHub检查了 Cloudify Manager Blueprint 的最新代码
更新了input.yaml文件,当我使用命令运行它时:
cfy bootstrap -p aws-ec2-manager-blueprint.yaml -i inputs.yaml --task-retries 10
Run Code Online (Sandbox Code Playgroud)
它通过了所有验证步骤,生成密钥、安全组,然后抛出了很多错误:
NonRecoverableError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Errors>
<Error>
<Code>VPCIdNotSpecified</Code>
<Message>No default VPC for this user</Message>
</Error>
</Errors>
<RequestID>some-blah-blah-blah</RequestID>
</Response>
Run Code Online (Sandbox Code Playgroud)
任何人都可以建议我应该在哪个标签下的哪个配置中指定我想要使用的 VPS?我也没有在 AWS AMI 中找到任何有关如何为每个特定用户设置默认 VPC 的内容 - 因为我确实使用访问密钥创建了 Cloudify-bot 服务帐户
我究竟做错了什么?
当我使用 Interactive 创建 CloudFormation 模板时Parameters,我可以定义 List<> 的类型以便能够选择多个值,例如:
SubnetIds:
Type: List<AWS::EC2::Subnet::Id>
Description: Select multiple subnets from selected VPC.
Default: "????"
Run Code Online (Sandbox Code Playgroud)
或者:
SecurityGroups:
Type: List<AWS::EC2::SecurityGroup::Id>
Description: Select security groups.
Default: "???"
Run Code Online (Sandbox Code Playgroud)
问题是如何default通过多项选择预设值?ifdefault只接受字符串而不是列表,并且在多个值之间使用逗号的字符串也无济于事
有任何想法吗?请提示我