Forum

Author Topic: SSL python module and scripts dependencies  (Read 1228 times)

densecloud

  • Newbie
  • *
  • Posts: 12
    • View Profile
SSL python module and scripts dependencies
« on: January 25, 2023, 05:27:46 PM »
Hi!

pip requires SSL so when I'm opening MS, it loads my python scripts (and the github ones). It then tries to import the missing dependencies and I get this error message:

Can't connect to HTTPS URL because the SSL module is not available.

The question is, how can I get SSL without messing MS python engine ?

Thanks!

Olivier

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: SSL python module and scripts dependencies
« Reply #1 on: January 26, 2023, 03:45:06 PM »
Hello Olivier,

What OS and Metashape Pro versions are you using?
Best regards,
Alexey Pasumansky,
Agisoft LLC

densecloud

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: SSL python module and scripts dependencies
« Reply #2 on: January 26, 2023, 04:11:04 PM »
Hi Alexey!

Win 10
MS 2.0.0

C:\Program Files\Agisoft\Metashape Pro\python>python -V
Python 3.9.13

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: SSL python module and scripts dependencies
« Reply #3 on: January 26, 2023, 05:54:21 PM »
Hello Olivier,

Please check that _ssl.pyd, libcrypto-1_1.dll, libssl-1_1.dll files are present in C:/Program Files/Agisoft/Metashape Pro/python/DLLs folder of Metashape Pro installation directory. If they are missing, re-install Metashape Pro.
Then, if the issue still persists, try to copy them to C:/Program Files/Agisoft/Metashape Pro/python/ directory and re-start Metashape.
Best regards,
Alexey Pasumansky,
Agisoft LLC

densecloud

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: SSL python module and scripts dependencies
« Reply #4 on: January 26, 2023, 06:28:09 PM »
libcrypto-1_1.dll was actually missing, downloaded from third-party dll library, working great now!

Many thanks for your kelp !