Hello!
I’m trying to install PyTorch in Rhino 8 using the new script editor, and I want to install it from the official PyTorch URL for CUDA 12.6. https://pytorch.org/get-started/locally/
In my script file, I added the following header:
#! python 3
# venv: torch_env
# r: torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
Using pip would be like:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
However, this doesn’t seem to be the correct way to install packages via a URL in Rhino 8 as torch doesn’t get installed with this requirement.
Any help or clarification would be appreciated!
@eirannejad