无法更新conda环境

时间:2019-12-16 13:03:43

标签: python

更新conda环境时出现以下错误。 命令:

subjects:

Conda无法下载pywavelets-1.1.1。 出现以下错误:

kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  namespace: assembly-prod
  name: testreadrole
rules:
  - apiGroups: [""]
    resources: ["pods"]
    verbs: ["get", "watch", "list"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: testrolebinding
  namespace: assembly-prod
subjects:
  - kind: ServiceAccount
    name: testsa
    namespace: assembly-prod
roleRef:
  kind: Role
  name: testreadrole
  apiGroup: rbac.authorization.k8s.io

其他软件包正在正确下载

1 个答案:

答案 0 :(得分:0)

问题已通过以下步骤解决:

1. reinstalled Anaconda
2. create condarc file with following content in it.
proxy_servers:
  http: http://username:password@proxy:8080
  https: https://username:password@proxy:8080

ssl_verify: false
channels:
  - defaults
report_errors: false