Python 3 fails to install pip and initialize

@licencing

See this thread please (Rhino 8 - Importing Python 3 Libraries - #18 by Thomas_Dowse)

Python is failing to import the _socket module and it is throwing this error:

in <module>ImportError: dynamic module does not define module export function (PyInit__socket) 

It is identical to the error message in the post that I shared above. This ususally happens when security policies on windows prevent Rhino from loading external libraries. Would you mind checking with your IT department on this?

On a related note, Python 3 tries to install pip from internet if it has access and if not it falls back on its own embedded pip. I will improve the install process

RH-80990 Try to install pip from embedded if get_pip fails

1 Like