[GH-ISSUE #3] No module named websocket #1

Closed
opened 2026-03-04 14:58:29 +03:00 by kerem · 4 comments
Owner

Originally created by @editedweb on GitHub (Feb 6, 2026).
Original GitHub issue: https://github.com/GladistonXD/votify-fix/issues/3

I'm getting this error after a fresh install:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Python314\Scripts\votify.exe_main
.py", line 2, in
from votify.cli import main
File "C:\Python314\Lib\site-packages\votify\cli.py", line 24, in
from .downloader import Downloader
File "C:\Python314\Lib\site-packages\votify\downloader.py", line 29, in
from .spotify_api import SpotifyApi
File "C:\Python314\Lib\site-packages\votify\spotify_api.py", line 16, in
import websocket
ModuleNotFoundError: No module named 'websocket'

Originally created by @editedweb on GitHub (Feb 6, 2026). Original GitHub issue: https://github.com/GladistonXD/votify-fix/issues/3 I'm getting this error after a fresh install: Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Python314\Scripts\votify.exe\__main__.py", line 2, in <module> from votify.cli import main File "C:\Python314\Lib\site-packages\votify\cli.py", line 24, in <module> from .downloader import Downloader File "C:\Python314\Lib\site-packages\votify\downloader.py", line 29, in <module> from .spotify_api import SpotifyApi File "C:\Python314\Lib\site-packages\votify\spotify_api.py", line 16, in <module> import websocket ModuleNotFoundError: No module named 'websocket'
kerem closed this issue 2026-03-04 14:58:29 +03:00
Author
Owner

@10ij commented on GitHub (Feb 7, 2026):

this one was easily fixable, for me i uninstalled with

pip uninstall votify votify-fix -y

and then reinstalled with pipx, if you don't have it heres how you install it

python -m pip install --user pipx
python -m pipx ensurepath

that should've installed pipx, now you install votify like so

pipx install git+https://github.com/GladistonXD/votify-fix.git

and this bit fixes the issue

pipx inject votify websocket-client

there's probably a cleaner method, but this worked for me

<!-- gh-comment-id:3863209172 --> @10ij commented on GitHub (Feb 7, 2026): this one was easily fixable, for me i uninstalled with ``` pip uninstall votify votify-fix -y ``` and then reinstalled with pipx, if you don't have it heres how you install it ``` python -m pip install --user pipx python -m pipx ensurepath ``` that should've installed pipx, now you install votify like so ``` pipx install git+https://github.com/GladistonXD/votify-fix.git ``` and this bit fixes the issue ``` pipx inject votify websocket-client ``` there's probably a cleaner method, but this worked for me
Author
Owner

@10ij commented on GitHub (Feb 7, 2026):

if you dont want to use pipx, you can simply run pip install websocket-client

<!-- gh-comment-id:3863214328 --> @10ij commented on GitHub (Feb 7, 2026): if you dont want to use pipx, you can simply run ```pip install websocket-client```
Author
Owner

@editedweb commented on GitHub (Feb 7, 2026):

Confirmed that fix. I guess it just needs to be fixed in the normal install process :)

<!-- gh-comment-id:3863362105 --> @editedweb commented on GitHub (Feb 7, 2026): Confirmed that fix. I guess it just needs to be fixed in the normal install process :)
Author
Owner

@GladistonXD commented on GitHub (Feb 10, 2026):

This has already been added to the installation:
github.com/GladistonXD/votify-fix@d32e26a932

<!-- gh-comment-id:3877145163 --> @GladistonXD commented on GitHub (Feb 10, 2026): This has already been added to the installation: https://github.com/GladistonXD/votify-fix/commit/d32e26a932e557e952bb7a845ae3f4e3c851dcc6
Sign in to join this conversation.
No labels
pull-request
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/votify-fix#1
No description provided.