belguawhale / Discord-Werewolf

A discord bot that runs a game of Werewolf.
MIT License
81 stars 52 forks source link

Dependencies for project #4

Closed unreturnable closed 7 years ago

unreturnable commented 7 years ago

I'm trying to set this up for a server of mine and I've hit the issue of the dependencies weren't shipped with the project and where to get them isn't listed.

belguawhale commented 7 years ago

Sorry, the current dependencies are aiohttp and discord.py. I will add a requirements.txt.

unreturnable commented 7 years ago

Thank you. It probably just be best to include it in the Readme file as setup instructions

unreturnable commented 7 years ago

I installed discord.py with the instructions found here (I assumed this is the correct version) but I still get an error for no module found called discord on start

belguawhale commented 7 years ago

Yes, that is the correct version. May I ask what OS you are using and what version of Python you have installed?

unreturnable commented 7 years ago

Running of a Debian 8 machine using python 3.6 (not installed from repos)

belguawhale commented 7 years ago

Try reinstalling discord.py using pip install -U discord.py.

unreturnable commented 7 years ago

As far as I can tell the issue seemed to be I was installing the dependencies with pip for python 3.4 as packaged by my system but then running it with python 3.6.

belguawhale commented 7 years ago

That seems like a possible cause. Please let me know if the bot works or if there are any more issues.

unreturnable commented 7 years ago

Bot seems to work out pretty well. Have a couple of feature requests but I'll make those as separate issues to encourage discussion :smile: