ModuleNotFoundError Traceback (most recent call last)
Cell In [1], line 8
3 force_reinstall= False
5 # Set to true only if you want to install the dependencies again.
6
7 #--------------------
----> 8 with open('/dev/null', 'w') as devnull:import requests, os, time, importlib;open('/notebooks/mainpaperspaceA1111.py', 'wb').write(requests.get('https://huggingface.co/datasets/TheLastBen/PPS/raw/main/Scripts/mainpaperspaceA1111.py').content);os.chdir('/notebooks');time.sleep(3);import mainpaperspaceA1111;importlib.reload(mainpaperspaceA1111);from mainpaperspaceA1111 import *;Deps(force_reinstall)
File /notebooks/mainpaperspaceA1111.py:8
6 import fileinput
7 import ipywidgets as widgets
----> 8 from torch.hub import download_url_to_file
9 from urllib.parse import urlparse, parse_qs, unquote
10 import re
paperspace gradient notebook error
ModuleNotFoundError Traceback (most recent call last) Cell In [1], line 8 3 force_reinstall= False 5 # Set to true only if you want to install the dependencies again. 6 7 #-------------------- ----> 8 with open('/dev/null', 'w') as devnull:import requests, os, time, importlib;open('/notebooks/mainpaperspaceA1111.py', 'wb').write(requests.get('https://huggingface.co/datasets/TheLastBen/PPS/raw/main/Scripts/mainpaperspaceA1111.py').content);os.chdir('/notebooks');time.sleep(3);import mainpaperspaceA1111;importlib.reload(mainpaperspaceA1111);from mainpaperspaceA1111 import *;Deps(force_reinstall)
File /notebooks/mainpaperspaceA1111.py:8 6 import fileinput 7 import ipywidgets as widgets ----> 8 from torch.hub import download_url_to_file 9 from urllib.parse import urlparse, parse_qs, unquote 10 import re
ModuleNotFoundError: No module named 'torch'