Conda创建虚拟环境Http错误解决方法

Conda创建虚拟环境Http错误解决方法

最近在使用Conda创建虚拟环境时,在执行conda create --name xxx时出现了一个奇怪的错误:

raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch/current_repodata.json

通过观察发现这个URL是清华的镜像源,因此可以尝试删除自己原来添加的镜像源,并恢复原来的镜像源,代码如下:

conda config --remove-key channels
conda config --append channels conda-forge --append channels bioconda --append channels defaults

通过上述操作,成功解决问题,特此记录。

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 4
    评论
Chapter 1 : Java Platform, Enterprise Edition Introduction Deliverables What’s New in Java EE 7 Chapter 2 : Servlets WebServlet Servlet Filters Event Listeners Asynchronous Support Nonblocking I/O Web Fragments Security Resource Packaging Error Mapping Handling Multipart Requests Upgrade Processing Chapter 3 : JavaServer Faces Facelets Resource Handling Composite Components Request Processing Life-Cycle Phases Ajax HTTP GET Server and Client Extension Points Validating Data Navigation Rules Faces Flow Resource Library Contracts Passthrough Attributes and HTML5-Friendly Markup Component Tags Chapter 4 : RESTful Web Services Resources Binding HTTP Methods Multiple Resource Representations Binding a Request to a Resource Entity Providers Client API Mapping Exceptions Filters and Entity Interceptors Validation of Resources Chapter 5 : SOAP-Based Web Services Web Service Endpoints Provider-Based Dynamic Endpoints Endpoint-Based Endpoints Web Service Client Dispatch-Based Dynamic Client Handlers Chapter 6 : JSON Processing Streaming API Object Model API Chapter 7 : WebSocket Annotated Server Endpoint Programmatic Server Endpoint Annotated Client Endpoint Programmatic Client Endpoint JavaScript WebSocket Client Encoders and Decoders Integration with Java EE Security Chapter 8 : Enterprise JavaBeans Stateful Session Beans Stateless Session Beans Singleton Session Beans Life-Cycle Event Callbacks Message-Driven Beans Portable Global JNDI Names Transactions Asynchronous Invocation Timers Embeddable API EJB Lite Chapter 9 : Contexts and Dependency Injection Discovery of Beans Injection Points Qualifier and Alternative Producer and Disposer Interceptors Decorators Scopes and Contexts Stereotypes Events Portable Extensions Built-in Beans Life-Cycle Callbacks Chapter 10 : Concurrency Utilities Asynchronous Tasks Schedule Tasks Managed Threads Dynamic Contextual Objects Chapter 11 : Bean Validation Built-in Constraints Defining a Custom Constraint Validation Groups Method and Constructor Constraint Chapter 12 : Java Transaction User-Managed Transactions Container-Managed Transactions @TransactionScoped Chapter 13 : Java Persistence Entities Persistence Unit, Persistence Context, and Entity Manager Schema Generation Create, Read, Update, and Delete Entities Entity Listeners Stored Procedures Validating the Entities Transactions and Locking Caching Chapter 14 : Java Message Service Sending a Message Receiving a Message Synchronously Receiving a Message Asynchronously Quality of Service Temporary Destinations Chapter 15 : Batch Processing Chunk-Oriented Processing Batchlet Processing Listeners Job Sequence Partitioning the Job Chapter 16 : Build an End-to-End Application Introduction Problem Statement Walkthrough of a Sample Application Show Booking (JavaServer Faces) Chat Room (Java API for WebSocket) View and Delete Movies (Java API for RESTful Web Services) Add Movie (Java API for JSON Processing) Ticket Sales (Batch Applications for the Java Platform) Movie Points (Java Message Service 2) Conclusion Troubleshooting Completed Solution Appendix : Further Reading Web Technology Specifications Enterprise Technology Specifications Web Service Technologies Management and Security Technologies Colophon

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

柠檬ya

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值