[GH-ISSUE #22] No module named 'websockets' #8

Closed
opened 2026-03-03 01:21:06 +03:00 by kerem · 1 comment
Owner

Originally created by @axgkl on GitHub (Oct 9, 2020).
Original GitHub issue: https://github.com/cs01/termpair/issues/22

Hi Chad,

forgotten dependency:

termpair is already at latest version 0.0.1.3 (location: /home/pixuser/.local/pipx/venvs/termpair)
[pixuser@gkfedora .local]$ termpair -h
Traceback (most recent call last):
  File "/home/pixuser/.local/bin/termpair", line 5, in <module>
    from termpair.main import main
  File "/home/pixuser/.local/pipx/venvs/termpair/lib64/python3.7/site-packages/termpair/main.py", line 10, in <module>
    from . import share, server
  File "/home/pixuser/.local/pipx/venvs/termpair/lib64/python3.7/site-packages/termpair/share.py", line 21, in <module>
    import websockets  # type: ignore
ModuleNotFoundError: No module named 'websockets'
[pixuser@gkfedora .local]$

[pixuser@gkfedora .local]$ which python
/usr/bin/python
[pixuser@gkfedora .local]$ python --version
Python 3.7.9

Workaround:

pipx  runpip termpair install websockets

PS: Thanks for both ;-)

Originally created by @axgkl on GitHub (Oct 9, 2020). Original GitHub issue: https://github.com/cs01/termpair/issues/22 Hi Chad, forgotten dependency: ```python termpair is already at latest version 0.0.1.3 (location: /home/pixuser/.local/pipx/venvs/termpair) [pixuser@gkfedora .local]$ termpair -h Traceback (most recent call last): File "/home/pixuser/.local/bin/termpair", line 5, in <module> from termpair.main import main File "/home/pixuser/.local/pipx/venvs/termpair/lib64/python3.7/site-packages/termpair/main.py", line 10, in <module> from . import share, server File "/home/pixuser/.local/pipx/venvs/termpair/lib64/python3.7/site-packages/termpair/share.py", line 21, in <module> import websockets # type: ignore ModuleNotFoundError: No module named 'websockets' [pixuser@gkfedora .local]$ [pixuser@gkfedora .local]$ which python /usr/bin/python [pixuser@gkfedora .local]$ python --version Python 3.7.9 ``` Workaround: pipx runpip termpair install websockets PS: Thanks for both ;-)
kerem closed this issue 2026-03-03 01:21:07 +03:00
Author
Owner

@cs01 commented on GitHub (Oct 15, 2020):

Thanks, I confirmed this is now a bug. That's what I get for not pinning dependencies. I'll try to fix this weekend.

PS: Thanks for both ;-)

😄

<!-- gh-comment-id:708893795 --> @cs01 commented on GitHub (Oct 15, 2020): Thanks, I confirmed this is now a bug. That's what I get for not pinning dependencies. I'll try to fix this weekend. > PS: Thanks for both ;-) :smile:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termpair#8
No description provided.