Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'zlib' #89

Closed
BryanJBryce opened this issue Aug 3, 2018 · 2 comments
Closed

ModuleNotFoundError: No module named 'zlib' #89

BryanJBryce opened this issue Aug 3, 2018 · 2 comments

Comments

@BryanJBryce
Copy link

BryanJBryce commented Aug 3, 2018

SublimeText 3.1.1 for macOS

[WakaTime] [ERROR] wakatime-core exited with status: 1
[WakaTime] [ERROR] wakatime-core output: Traceback (most recent call last):
  File "/Users/bryan/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/cli.py", line 24, in <module>
    import wakatime
  File "/Users/bryan/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/__init__.py", line 17, in <module>
    from .main import execute
  File "/Users/bryan/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/main.py", line 24, in <module>
    from .api import send_heartbeats
  File "/Users/bryan/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/api.py", line 22, in <module>
    from .packages.requests.exceptions import RequestException
  File "/Users/bryan/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/Users/bryan/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/urllib3/__init__.py", line 8, in <module>
    from .connectionpool import (
  File "/Users/bryan/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/urllib3/connectionpool.py", line 36, in <module>
    from .response import HTTPResponse
  File "/Users/bryan/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/urllib3/response.py", line 3, in <module>
    import zlib
ModuleNotFoundError: No module named 'zlib'
@alanhamlett
Copy link
Member

This looks like a problem with zlib library on the default Python for your machine. What version of Python is in your PATH? You can check with this command: python --version.

@alanhamlett
Copy link
Member

Fixed now that we're using Go instead of Python for wakatime-cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants