0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

fbgemm.dll or one of its dependenciesでPyTorchが使えない

Last updated at Posted at 2024-09-28

状況

仮想環境を構築後,pytorchをインストールし,

import torch

をしたところ,
'~\torch\lib\fbgemm.dll' or one of its dependencies.のようなエラーが出た.

環境

  • Windows11
  • python3.10
  • CPUのアーキテクチャ x64

解決方法

Dependenciesソフトを使って依存関係を確認したところ,
「libomp140.x86_64.dll」というファイルが足りないようです.
libomp140.x86_64.dllのダウンロード場所
ダウンロードしてfbgemm.dllと同じ場所に置くと解決しました.
visual studio 関係のエラーだそうです.

警告
上記のサイトは正規のダウンロード場所ではありません.自己責任でお願いします.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?