Skip to content

ImportError: DLL load failed while importing _rust: The specified procedure could not be found. #562

Description

@iamat8080

Description:
when i run
from cloakbrowser import launch

browser = launch(
headless=False,
humanize=True, human_preset="careful",
)
page = browser.new_page()
page.goto("https://example.com")
browser.close()
i got error

CloakBrowser version: 0.5.11

Wrapper: python
Environment: windows 10 x64

Steps to reproduce:
from cloakbrowser import launch

browser = launch(
headless=False,
humanize=True, human_preset="careful",
)
page = browser.new_page()
page.goto("https://example.com")
browser.close()

Error output / screenshots:
"E:\Project python\cloackytm\test.venv\Scripts\python.exe" "E:\Project python\cloackytm\main.py"
Traceback (most recent call last):
File "E:\Project python\cloackytm\main.py", line 3, in
browser = launch(
File "E:\Project python\cloackytm\test.venv\lib\site-packages\cloakbrowser\browser.py", line 375, in launch
binary_path = ensure_binary(license_key=license_key, browser_version=browser_version, release_channel=release_channel)
File "E:\Project python\cloackytm\test.venv\lib\site-packages\cloakbrowser\download.py", line 326, in ensure_binary
_download_and_extract()
File "E:\Project python\cloackytm\test.venv\lib\site-packages\cloakbrowser\download.py", line 376, in _download_and_extract
_verify_download_checksum(tmp_path, version)
File "E:\Project python\cloackytm\test.venv\lib\site-packages\cloakbrowser\download.py", line 681, in _verify_download_checksum
_verify_signature(manifest_bytes, sig_bytes)
File "E:\Project python\cloackytm\test.venv\lib\site-packages\cloakbrowser\download.py", line 757, in _verify_signature
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKey
File "E:\Project python\cloackytm\test.venv\lib\site-packages\cryptography\hazmat\primitives\asymmetric\ed25519.py", line 9, in
from cryptography.exceptions import UnsupportedAlgorithm, _Reasons
File "E:\Project python\cloackytm\test.venv\lib\site-packages\cryptography\exceptions.py", line 9, in
from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ImportError: DLL load failed while importing _rust: The specified procedure could not be found.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions