Nuitka: Can't compile tls-client

  • Nuitka version 0.8.4 Commercial: None Python: 3.9.0rc2 (tags/v3.9.0rc2:2bd31b5, Sep 17 2020, 00:58:12) [MSC v.1927 64 bit (AMD64)] Flavor: Unknown Executable: C:\Users\xCrysti\AppData\Local\Programs\Python\Python39\python.exe OS: Windows Arch: x86_64 WindowsRelease: 10

  • The specific PyPI names and versions tls-client==0.1.8

main.py: import tls_client session = tls_client.Session( client_identifier="chrome_108" ) res = session.get( "https://httpbin.org/get", headers={ "trixtm": "true", } ) print(res.text) input() nuitka command: nuitka --standalone --follow-imports --include-data-files=C:/Users/xCrysti/AppData/Local/Programs/Python/Python39/Lib/site-packages/tls_client/dependencies/tls-client-64.dll=tls-client-64.dll main.py

And i get this error: FileNotFoundError: Could not find module 'C:\Users\xCrysti\Desktop\TLSTES~1\MAIN~1.DIS\tls_client\dependencies\tls-client-64.dll' (or one of its dependencies). Try using the full path with constructor syntax. So i include the dll but it still can’t find it

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

I added relative_path and I DID IT. It finally works! You are such a nice person, i really appreciate the time you spent to teach me. Thank you so much!