I am encountering an issue while trying to install numpy in the Python3 script component of Grasshopper for Rhino8. Below is the code and the error message I received:
r: numpy
import numpy
Error Message:
Error building code | Could not find a version that satisfies the requirement numpy (from versions: none)
Could you please provide guidance on how to resolve this issue?
Additionally, due to our company’s security policies, we need to whitelist URLs and ports that Rhino might access. Could you please provide the necessary URLs and ports required for Rhino to properly install and use numpy?
It seems like you might not have access to the pypi.org servers from your location. The pip command is running fine but can not grab the info for numpy from its servers:
Running process: C:\Users\mtk185\.rhinocode\py39-rh8\python.exe -m pip --disable-pip-version-check install --target "C:\Users\mtk185\.rhinocode\py39-rh8\site-envs\default-S9IgqV9w" --progress-bar off --upgrade --no-warn-script-location --retries 0 --timeout 1 "numpy"
Error 05/23/2024 01:49:02 [RhinoCode] Process exited with code 1
Error 05/23/2024 01:49:02 [RhinoCode] pip install error |
ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
ERROR: No matching distribution found for numpy
Open a terminal from Tools > Advanced > Open Python 3 Shell
Run pip install numpy on the command line and see if it works
Thank you for the information! I successfully found the terminal through the Tools menu in the main editor launched by the ScriptEditor command. I appreciate your help!