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

unable to run chatstats.py #5

Open
Renge123455 opened this issue Oct 7, 2020 · 4 comments
Open

unable to run chatstats.py #5

Renge123455 opened this issue Oct 7, 2020 · 4 comments

Comments

@Renge123455
Copy link

Hi! I was trying to run chatstats.py, but it only opened the command prompt for a split second and then immediately closed.

I'm really not sure what to do D:
any help appreciated

@Renge123455
Copy link
Author

the error i got was this one

Traceback (most recent call last):
File "C:\Users\brayd\Documents\GitHub\chatstats\chatstats.py", line 7, in
import pandas as pd
ModuleNotFoundError: No module named 'pandas'

im not sure what this means though

@baieric
Copy link
Owner

baieric commented Oct 24, 2020

Sorry for the late response and thank you for trying out ChatStats! pandas is one of the dependencies that needs to be installed. It should have been installed when running
pip3 install -r requirements.txt
But it's possible for this command to fail for some reason. Let me know if you run that command and get some weird output saying something failed.

Also, super curious, how did you find ChatStats? Since this is from a few years back.

@Renge123455
Copy link
Author

Where am I supposed to run the pip3 install -r requirements.txt command? In GitCMD? I tried it with both GitCMD and the normal CMD on my system and both returned
'pip3' is not recognized as an internal or external command, operable program or batch file.

Honestly I have no idea what I'm doing, coding is super foreign to me :PP
I saw a post on reddit.com/r/dataisbeautiful about someone graphing their chat messages, so I went searching for a program to do that for my own messages and found this. Many thanks for making this C:

@baieric
Copy link
Owner

baieric commented Oct 27, 2020

You need to install pip3 and python3, which should both be included if you visit https://www.python.org/getit/

Then you can follow the instructions in the README again and it should work. Normal CMD on your system is where you want to run this.

Hope you figure this out! Sorry it's not so friendly to non-coders. Also, when you do get to the point where running chatstats.py works, you may need to debug the issue reported in #6

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