cs01 / termpair

View and control terminals from your browser with end-to-end encryption 🔒
MIT License
1.61k stars 72 forks source link

No module named 'websockets' #22

Closed axgkl closed 4 years ago

axgkl commented 4 years ago

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 ;-)

cs01 commented 4 years ago

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: