Jump to content

PyOpenSSL and pyCryptography for windows 7


Recommended Posts

Posted

Hi there, not sure where to ask this stuff nowadays so I will try here

I wanted to install HomeAsistant 2025.1.4 from here: https://github.com/AlexxIT/HassWP/releases/tag/v2025.1.4

after using the windows7 python version from here: https://github.com/adang1345/PythonWin7/blob/master/3.13.1/python.3.13.1.nupkg

I thought I am all set, but, sadly HomeAsistant requres a newer version of OpenSSL according to logs

```

ERROR: pip's dependency resolver does not currently take into account all the pa
ckages that are installed. This behaviour is the source of the following depende
ncy conflicts.
hass-nabucasa 0.87.0 requires cryptography>=42.0.0, but you have cryptography 38
.0.4 which is incompatible.
homeassistant 2025.1.4 requires cryptography==44.0.0, but you have cryptography
38.0.4 which is incompatible.
homeassistant 2025.1.4 requires pyOpenSSL==24.3.0, but you have pyopenssl 19.0.0
 which is incompatible.

```

after installing it

pip install pyopenssl==24.3 as well as pip install cryptography==4.0.0

```

the thing doesn't run due to some missing procedure

```

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "F:\HomeAsistent\HassWP_2025.1.4\python\Lib\site-packages\hass_win\__main__.py", line 9, in <module>
    from homeassistant import __main__, requirements, setup
  File "F:\HomeAsistent\HassWP_2025.1.4\python\Lib\site-packages\homeassistant\__main__.py", line 12, in <module>
    from .backup_restore import restore_backup
  File "F:\HomeAsistent\HassWP_2025.1.4\python\Lib\site-packages\homeassistant\backup_restore.py", line 16, in <module>
    import securetar
  File "F:\HomeAsistent\HassWP_2025.1.4\python\Lib\site-packages\securetar\__init__.py", line 16, in <module>
    from cryptography.hazmat.primitives import padding
  File "F:\HomeAsistent\HassWP_2025.1.4\python\Lib\site-packages\cryptography\hazmat\primitives\padding.py", line 11, in <module>
    from cryptography.exceptions import AlreadyFinalized
  File "F:\HomeAsistent\HassWP_2025.1.4\python\Lib\site-packages\cryptography\exceptions.py", line 9, in <module>
    from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ImportError: DLL load failed while importing _rust: The specified procedure could not be found.

```

 

not even sure what to do to fix this, thats realy deep down

I believe I need to somehow fix rust, but not sure

 

Hopefully someone has some idea

Thanks


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...