TheLastBen / PPS

46 stars 20 forks source link

PaperSpace Error #34

Open annikaherzfeld opened 6 months ago

annikaherzfeld commented 6 months ago

I am getting this error, Pls Help:

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'

TheLastBen commented 6 months ago

stop the machine and restart it and see if the issue persists