小编Fra*_*oja的帖子

在OS X上安装pip

我想在OS X上安装pip所以我下载并安装了Python 3.4,然后使用Python Packaging Authority提供的脚本安装pip; 但是当我运行pip时,我得到了一个未找到命令

MacBook-Pro-de-paquirrin:Home paquirrin$ sudo curl -O https://bootstrap.pypa.io/get-pip.py
Password:
Sorry, try again.
Password:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1487k  100 1487k    0     0   783k      0  0:00:01  0:00:01 --:--:--  783k
MacBook-Pro-de-paquirrin:Home paquirrin$ sudo python3 get-pip.py
The directory '/Users/paquirrin/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and …
Run Code Online (Sandbox Code Playgroud)

python macos pip amazon-web-services

13
推荐指数
2
解决办法
6万
查看次数

AWS CodeDeploy - 错误部署 - ApplicationDoesNotExistException

我想使用以下方式在AWS中部署项目:

$ aws --region eu-central-1 deploy push --application-name DemoApp --s3-location s3://paquirrin-codedeploy/Project1.zip --ignore-hidden-file --source .
Run Code Online (Sandbox Code Playgroud)

但我得到了这个错误:

A client error (ApplicationDoesNotExistException) occurred when calling the RegisterApplicationRevision operation: Applications not found for 289558260222
Run Code Online (Sandbox Code Playgroud)

但应用程序存在:

$ aws deploy list-applications
{
    "applications": [
        "DemoApp"
    ]
}
Run Code Online (Sandbox Code Playgroud)

和CodeDeploy代理正在运行

[root@ip-171-33-54-212 ~]# /etc/init.d/codedeploy-agent status
The AWS CodeDeploy agent is running as PID 2649
Run Code Online (Sandbox Code Playgroud)

但我还没找到deployment-root里面的文件夹/opt/codedeploy-agent!

amazon-web-services

7
推荐指数
1
解决办法
917
查看次数

创建 AWS CloudFormation 堆栈时出错(无法描述 AMI)

我想基于此模板创建一个 Amazon Web Services 堆栈 (CloudFormation)(单击“新建堆栈”按钮创建新的 AWS CLoudFormation 堆栈):

{
  "AWSTemplateFormatVersion" : "2010-09-09",
  "Description" : "AWS CodeDeploy infra",
  "Parameters" : {
    "VPCID": {
      "Description" : "VPC ID",
      "Type": "String",
      "Default": "vpc-16438e72"
    },

    "myIP": {
      "Description" : "Enter your IP address in CIDR notation, e.g. 100.150.200.225/32",
      "Type": "String",
      "Default": "50.186.16.59/32"
    },

    "InstanceProfile": {
      "Description" : "Use the full ARN for SimpleCodeDeployInstanceProfile or AdvancedCodeDeployInstanceProfile",
      "Type": "String",
      "Default": "arn:aws:iam::663934185745:instance-profile/SimpleCodeDeployInstanceProfile"
    },

    "KeyName" : {
      "Description" : "Name of an existing EC2 KeyPair to enable …
Run Code Online (Sandbox Code Playgroud)

amazon-web-services

1
推荐指数
1
解决办法
2946
查看次数

标签 统计

amazon-web-services ×3

macos ×1

pip ×1

python ×1