Trouble with installing Ladybug 1.2.0

Hi.

I’m having trouble installing Ladybug 1.2.0, after uninstalling Legacy 0.0.69.

Any ideas?

Here’s the output from the installation (step 2):

Installing Ladybug Tools core Python libraries.
Installing lbt-dragonfly==0.7.127 via pip using
C:\Users\eshan\ladybug_tools\python\python.exe
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bc/69/16e943e4b64381c94756106f383972a9cc11237399cb0a065e9e4da88fe8/lbt_dragonfly-0.7.127-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bc/69/16e943e4b64381c94756106f383972a9cc11237399cb0a065e9e4da88fe8/lbt_dragonfly-0.7.127-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bc/69/16e943e4b64381c94756106f383972a9cc11237399cb0a065e9e4da88fe8/lbt_dragonfly-0.7.127-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bc/69/16e943e4b64381c94756106f383972a9cc11237399cb0a065e9e4da88fe8/lbt_dragonfly-0.7.127-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bc/69/16e943e4b64381c94756106f383972a9cc11237399cb0a065e9e4da88fe8/lbt_dragonfly-0.7.127-py2.py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Max retries exceeded with url: /packages/bc/69/16e943e4b64381c94756106f383972a9cc11237399cb0a065e9e4da88fe8/lbt_dragonfly-0.7.127-py2.py3-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’)))

WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available.
You should consider upgrading via the ‘C:\Users\eshan\ladybug_tools\python\python.exe -m pip install --upgrade pip’ command.

Installing Ladybug Tools recipes.
Installing lbt-recipes==0.10.0 via pip using
C:\Users\eshan\ladybug_tools\python\python.exe
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bf/d3/3a96b68695dedbc6d34dea058efa7dc523b4ffc9d345f7697e94ed7c0522/lbt_recipes-0.10.0-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bf/d3/3a96b68695dedbc6d34dea058efa7dc523b4ffc9d345f7697e94ed7c0522/lbt_recipes-0.10.0-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bf/d3/3a96b68695dedbc6d34dea058efa7dc523b4ffc9d345f7697e94ed7c0522/lbt_recipes-0.10.0-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bf/d3/3a96b68695dedbc6d34dea058efa7dc523b4ffc9d345f7697e94ed7c0522/lbt_recipes-0.10.0-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/bf/d3/3a96b68695dedbc6d34dea058efa7dc523b4ffc9d345f7697e94ed7c0522/lbt_recipes-0.10.0-py2.py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Max retries exceeded with url: /packages/bf/d3/3a96b68695dedbc6d34dea058efa7dc523b4ffc9d345f7697e94ed7c0522/lbt_recipes-0.10.0-py2.py3-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’)))

WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available.
You should consider upgrading via the ‘C:\Users\eshan\ladybug_tools\python\python.exe -m pip install --upgrade pip’ command.

Installing ladybug-rhino Python library.
Installing ladybug-rhino[cli]==1.28.7 via pip using
C:\Users\eshan\ladybug_tools\python\python.exe
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/94/8c/1f65152ba2932372ace91da9c0ad88cef685a21ce66a1959f8c48d68c794/ladybug_rhino-1.28.7-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/94/8c/1f65152ba2932372ace91da9c0ad88cef685a21ce66a1959f8c48d68c794/ladybug_rhino-1.28.7-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/94/8c/1f65152ba2932372ace91da9c0ad88cef685a21ce66a1959f8c48d68c794/ladybug_rhino-1.28.7-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/94/8c/1f65152ba2932372ace91da9c0ad88cef685a21ce66a1959f8c48d68c794/ladybug_rhino-1.28.7-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/94/8c/1f65152ba2932372ace91da9c0ad88cef685a21ce66a1959f8c48d68c794/ladybug_rhino-1.28.7-py2.py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Max retries exceeded with url: /packages/94/8c/1f65152ba2932372ace91da9c0ad88cef685a21ce66a1959f8c48d68c794/ladybug_rhino-1.28.7-py2.py3-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’)))

WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available.
You should consider upgrading via the ‘C:\Users\eshan\ladybug_tools\python\python.exe -m pip install --upgrade pip’ command.

Writing set_python_path batch File to:
C:\Users\eshan\ladybug_tools\set_python_path.bat

Installing Ladybug Tools Grasshopper components.
Installing lbt-grasshopper==1.2.0 via pip using
C:\Users\eshan\ladybug_tools\python\python.exe
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/15/7e/b5b29ec00cf728d35cb8ec64d46ff8d9f26dc48e914513702e2a8c7c7cbb/lbt_grasshopper-1.2.0-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/15/7e/b5b29ec00cf728d35cb8ec64d46ff8d9f26dc48e914513702e2a8c7c7cbb/lbt_grasshopper-1.2.0-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/15/7e/b5b29ec00cf728d35cb8ec64d46ff8d9f26dc48e914513702e2a8c7c7cbb/lbt_grasshopper-1.2.0-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/15/7e/b5b29ec00cf728d35cb8ec64d46ff8d9f26dc48e914513702e2a8c7c7cbb/lbt_grasshopper-1.2.0-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/15/7e/b5b29ec00cf728d35cb8ec64d46ff8d9f26dc48e914513702e2a8c7c7cbb/lbt_grasshopper-1.2.0-py2.py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Max retries exceeded with url: /packages/15/7e/b5b29ec00cf728d35cb8ec64d46ff8d9f26dc48e914513702e2a8c7c7cbb/lbt_grasshopper-1.2.0-py2.py3-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’)))

WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available.
You should consider upgrading via the ‘C:\Users\eshan\ladybug_tools\python\python.exe -m pip install --upgrade pip’ command.

.gha files already exist in your Components folder and cannot be deleted while Grasshopper is open.
Close Grasshopper, delete the .gha files at
C:\Users\eshan\AppData\Roaming\Grasshopper\Libraries\ladybug_grasshopper_dotnet
and rerun this installer component.
Or simply keep using the old .gha component if you do not need the latest .gha component features.

Installing Honeybee-OpenStudio gem version 2.11.3.
Downloading “honeybee-openstudio-gem” github repository to: C:\Users\eshan\ladybug_tools\resources\measures
Copying “honeybee_openstudio_gem” source code to C:\Users\eshan\ladybug_tools\resources\measures\honeybee_openstudio_gem\lib

Installing Honeybee energy standards.
Installing honeybee-energy-standards==2.1.2 via pip using
C:\Users\eshan\ladybug_tools\python\python.exe
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/32/07/93247dd96af58cd5a9c06ae14faa7ea043066441063534afaaaad41b2bf4/honeybee_energy_standards-2.1.2-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/32/07/93247dd96af58cd5a9c06ae14faa7ea043066441063534afaaaad41b2bf4/honeybee_energy_standards-2.1.2-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/32/07/93247dd96af58cd5a9c06ae14faa7ea043066441063534afaaaad41b2bf4/honeybee_energy_standards-2.1.2-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/32/07/93247dd96af58cd5a9c06ae14faa7ea043066441063534afaaaad41b2bf4/honeybee_energy_standards-2.1.2-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’))’: /packages/32/07/93247dd96af58cd5a9c06ae14faa7ea043066441063534afaaaad41b2bf4/honeybee_energy_standards-2.1.2-py2.py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Max retries exceeded with url: /packages/32/07/93247dd96af58cd5a9c06ae14faa7ea043066441063534afaaaad41b2bf4/honeybee_energy_standards-2.1.2-py2.py3-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)’)))

WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available.
You should consider upgrading via the ‘C:\Users\eshan\ladybug_tools\python\python.exe -m pip install --upgrade pip’ command.

Restart Grasshopper and Rhino to load the new components + library.

Hi @EspenHansen, We use pip to install Ladybug Tools packages which is the standard way to install Python packages. In your case it doesn’t consider the source where the files will be installed as a trusted host - which is quite strange. Here is a solution that should work:

As you can see the original author is referring to anti-virus blocking pip as the source of the issue.


For future reference here is a eelated but more technical discussion on pip GitHub repository"

1 Like

Thank you! @mostapha

Hello @mostapha, My IT department had to send out a new computer for me and when trying to install the tools I am getting this same error. I did not have an issue installing it previously on the same network. I am following up with IT as well with regards to disabling the anti-virus but is this the only work around? I also tried to update pip but I am not a cmd prompt expert and was not able to do that.Ladybug Tools 1.2 Error.txt (19.6 KB)

Hi, @emmanuelgee

I ran into the same challenge after disabling the anti-virus. I’ve a solution that will do the trick, but it’s not optimal in terms of security.

If you go to your task manager, and “Services” you should be able to find a “Umbrella_Rc” that’s hopefully running (see the picture below). If you stop the Umbrella service and run the installation in Grasshopper, you should be able to get LB installed, unless you have other “special” security devices running “behind the scene” as well.

I would disconnect/close everything else than Rhino and grasshopper while the “Umbrella_Rc” are stopped. As soon as the installation are complete, you should start the “Umbrella_Rc” again.

Hi @emmanuelgee, since this is an issue with pip itself there is not much we can do about it unless we stop using pip.

For offices with VPN issues we put an installer together for sale which packages all the libraries in a single installer and runs without the need to access to Internet.

Thank you @mostapha for the info. Seems like I am having this issue whether running on VPN or not and its occurring in one of our server based systems too. I will continue to troubleshoot internally. Who do I contact for the installer version?

Thanks again

You can just shoot me an email and I can share more information with you.