Tsinghua source appears Collecting package metadata (repodata.json) failed UnavailableInvalidChannel solution

  Hello everyone, I am Miaomiao who loves programming. Graduated with a master's degree in Double 985 and now works as a full-stack engineer. He is keen on applying data thinking to work and life. Engaged in machine learning and related front-end and back-end development work. He has won many top rankings in competitions such as Alibaba Cloud, iFlytek, and CCF. Now he is a CSDN blog expert and a high-quality creator in the field of artificial intelligence. I like to summarize and summarize the knowledge I have learned through blog creation, which not only forms a deep and unique understanding, but also helps novices get started quickly.

  This article mainly introduces the solution of Collecting package metadata (repodata.json) failed UnavailableInvalidChannel: The channel is not accessible or is invalid. in Tsinghua source. I hope it will be helpful to students learning python.

1. Problem description

  Today, when I used conda to create a virtual environment, and the image source used was Tsinghua source, an error message appeared: Collecting package metadata (repodata.json) failed UnavailableInvalidChannel: The channel is not accessible or is invalid. The specific error message is as follows Shown:
Insert image description here

  After personal practice, I finally found a solution to the problem, and the step-by-step operation process is summarized as follows. I hope it will be helpful to students who encounter the same bug.

Guess you like

Origin blog.csdn.net/weixin_43178406/article/details/133073934