Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
306 views
in Technique[技术] by (71.8m points)

python - Specified procedure couldn't be found

I have installed Pytorch but when I run it , it gives the following error:

OSError: [WinError 127] The specified procedure could not be found. Error loading "c:usersfatima.arshadappdatalocalcontinuumanaconda2envsweb_scrapinglibsite-packagesorchlibcaffe2.dll" or one of its dependencies.

I have only tried and imported it like this:

import torchvision

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

PyTorch is an open source machine learning framework.Torchvision is part of the PyTorch project.

First,you need install torch.

Second,install torchvision.

You can use this command:

pip install torch===1.7.1 torchvision===0.8.2 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

This command can install torch and torchvision at the same time.

Please refer here:https://pytorch.org/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...