Closed BomberCreeper closed 8 months ago
Can you show me the output of pip freeze ?
Also paste the Error as text rather than an Image.
Can you show me the output of pip freeze ?
Also paste the Error as text rather than an Image.
PS C:\Users\dimas> cd C:\comic-translate-main
PS C:\comic-translate-main> python comic.py
Traceback (most recent call last):
File "C:\comic-translate-main\comic.py", line 3, in
Do you have an Nvidia GPU ?
Try: pip uninstall torchvision torch pip install torch==2.1.0+cu121 -f https://download.pytorch.org/whl/torch_stable.html pip install torchvision==0.16.0+cu121 -f https://download.pytorch.org/whl/torch_stable.html
change 121 to 118 if your cuda version is 11.8 rather than 12.1
Do you have an Nvidia GPU ? Yes, I have Nvidia.
C:\Users\dimas>nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Wed_Feb__8_05:53:42_Coordinated_Universal_Time_2023 Cuda compilation tools, release 12.1, V12.1.66 Build cuda_12.1.r12.1/compiler.32415258_0
C:\comic-translate-main>pip install torch==2.1.0+cu121 -f
Usage:
pip install [options]
-f option requires 1 argument
C:\comic-translate-main>pip install torchvision==0.16.0+cu121 -f
Usage:
pip install [options]
-f option requires 1 argument
It can't be installed
The links are part of the pip install. you didn't add the links. copy each line entirely.
pip install torch==2.1.0+cu121 -f https://download.pytorch.org/whl/torch_stable.html
pip install torchvision==0.16.0+cu121 -f https://download.pytorch.org/whl/torch_stable.html
Thanks, that helped. I opened a program.