Sie fragen - wir antworten!

Kein Modul namens 'Fackel'

Fehler:

ModuleNotFoundError                       Traceback (most recent call last)
 in 
     14 import matplotlib.pyplot as plt
     15 
---> 16 import torch
     17 import torch.nn as nn
     18 import torch.optim as optim
ModuleNotFoundError: No module named 'torch'

Wie man ihn behebt

pip3 install torch torchvision

Siehe auch: https://pytorch.org/get-started/locally/



Aktualisiert: 18.03.2025

Veröffentlicht: 10.01.2020


Haben Sie noch Fragen? Schreiben Sie uns!

By clicking «I Accept» you confirm that you have read and accepted the website Terms and Conditions, Privacy Policy, and Moneyback Policy.