If I understand correctly, yes. You might need Rhino 8.6 for this, which is the current service release candidate.
There are a couple ways to set library paths in the environment.
Within the scripts a addition path can be set. If the libraries have been downloaded in that location, then there is no need for the requirements statement.
As an example, ifcopenshell needs to be a special version to work because the PIP version is a mess. So using this code would find any libraries in that folder. You could use the same folder you have now in the Vms.
# env: D:/Documents/python
import ifcopenshell
Also, If the libraries were on sys.path
in the first place It would work.
And alternate method is to use the RhinoCpython home folder:
- Open a powershell and change directory to
%HOMEPATH%/.rhinocode/py39-rh8
folder (~/.rhinocode/py39-rh8
on macOS)
This thread covers some of this: Importing libraries for specific Python versions - #3 by TuomasLehtonen