question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  File "/home/kot/.local/share/virtualenvs/chatGPT-discord-bot-BNM29DVl/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 4, in <module>
    import tls_client
  File "/home/kot/.local/share/virtualenvs/chatGPT-discord-bot-BNM29DVl/lib/python3.11/site-packages/tls_client/__init__.py", line 15, in <module>
    from .sessions import Session
  File "/home/kot/.local/share/virtualenvs/chatGPT-discord-bot-BNM29DVl/lib/python3.11/site-packages/tls_client/sessions.py", line 1, in <module>
    from .cffi import request
  File "/home/kot/.local/share/virtualenvs/chatGPT-discord-bot-BNM29DVl/lib/python3.11/site-packages/tls_client/cffi.py", line 15, in <module>
    library = ctypes.cdll.LoadLibrary(f'{root_dir}/dependencies/tls-client{file_ext}')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kot/.asdf/installs/python/3.11.0/lib/python3.11/ctypes/__init__.py", line 454, in LoadLibrary
    return self._dlltype(name)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/kot/.asdf/installs/python/3.11.0/lib/python3.11/ctypes/__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /home/kot/.local/share/virtualenvs/chatGPT-discord-bot-BNM29DVl/lib/python3.11/site-packages/tls_client/dependencies/tls-client-amd64.so: cannot open shared object file: No such file or directory

arch is aarch64, amd64 will not work here.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
Kidsancommented, Dec 6, 2022

Have the exact same problem. tls_client/cffi.py needs to be extended to support raspberry pi 4 (platform = “linux” and machine = “armv7l”) and we need the appropriate shared object in the dependencies directory.

0reactions
arnav7633commented, Dec 9, 2022

Its aarch64. More info here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Arm Support and Training – Arm®
Arm's technical support and training services are providing the help you need when you need it. Submit support requests for Arm architecture, or...
Read more >
Amazon Best Sellers: Best Arm Supports
Discover the best Arm Supports in Best Sellers. ... VELPEAU Arm Sling Shoulder Immobilizer - Rotator Cuff Support Brace - Comfortable Medical Sling...
Read more >
Arm Braces in Arm and Shoulder Support - Walmart.com
Shop for Arm Braces in Arm support. Buy products such as Techinal Left or Right Hand Support Forearm Brace Wrist Brace Durable for...
Read more >
Women's Performance Compression Full Arm Sleeve
Shop our arm support sleeve to relieve tired, aching muscles! From a long day at work or busy day at home, our arm...
Read more >
Wheelchair Mobile Arm Supports | Medline Industries, Inc.
Helps maintain lateral body support. Adjustable elbow angle permits the alternation between flexion and extension that is so important to contracture control.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found