Local PyPi packages

I’m behind a firewall. Is it possible to use pypi packages that have been saved locally? I usually use the following command with my system python installation :

Pip3 install —no-index —find-links=DIR package.whl

Try using python shell from Tools > Advanced > Open Python Shell menu to make modifications and install packages manually in the python environment that is managed by Rhino.

Also take a look at this post that discusses improvements to package management in the script editor in Rhino WIP.

Python scripts now support extended pip options like:

#! python 3
# r "pip: package --find-links https://example.com/packages"

import os
# your python script here

Added a YT ticket to improve this in Rhino WIP:

RH-93679 Python 3 pip can not install packages from local file (whl, tar.gz)

RH-93679 is fixed in Rhino WIP