Anaconda installation problems encountered by third-party libraries Pytorch Python namely solution (torch._C not found)

Anaconda problems encountered when installing third-party Python library solution that is Pytorch

A. My experience

  • In recent days I just going crazy, I lost a mentor project to us and allow us to download Pytorch, two teammates in the same group on the day he is just great but I can slow them a lot, I was very unhappy, and
    I met the question is: because I download more slowly, after They just great to me and I put my site-packages inside, then I open the Anaconda prompt: enter python-> import torch._C results show :( because not save the picture so will it out)
    MoudleNotFound: torch._C
  • Finally, I found a major platform website: blog Garden, CSDN, Stackoverflow, etc., almost rummaged all tried again, I have no way out, so I started to think for themselves where the problem lies:
    methodological issues previously used: the use of a mirror net (Tsinghua University, USTC big mirror, etc.), looking for download commands from the official website and other places all useless, others say or what command to use what, in the middle is always under half broken or stuck no more, then you give to what an Http ERROR or something, so I am very collapse, these all useless . The problem is that all online download and install.

II. My solution

Click on the image URL Tsinghua
early find the version you want here :Here Insert Picture Description

  • After I downloaded the fourth, then you download a good
  • Execution: conda install --use-local xxxx
  • xxxx package that you downloaded in your computer the absolute path of
    Here Insert Picture Description
    success, what problems can leave a message below.
Published 22 original articles · won praise 0 · Views 593

Guess you like

Origin blog.csdn.net/qq_44932835/article/details/105070480