seladb / github-traffic-stats

A small Python project to pull and store traffic stats for GitHub projects using GitHub API
MIT License
28 stars 13 forks source link

No module named 'github_traffic_stats2' #5

Closed jahnf closed 4 years ago

jahnf commented 4 years ago

Hello, thank you very much for this python tool.

I installed successfully with pip3 install github_traffic_stats2 (Ubuntu 18.04), but when running github_traffic_stats I get the following error.

$ github_traffic_stats 
Traceback (most recent call last):
  File "/usr/local/bin/github_traffic_stats", line 7, in <module>
    from github_traffic_stats2.github_traffic_stats import main
ModuleNotFoundError: No module named 'github_traffic_stats2'

Edit: With cloning and running the script directly I don't get this error. Seems to be an issue with the installation via pip.

seladb commented 4 years ago

let me check and get back to you

seladb commented 4 years ago

@jahnf Fixed in version 20.6.6. Please try again and let it know if it works

jahnf commented 4 years ago

Yes thanks. Works for me with now with pip.