rkhous / CSPM

Crowd-Sourced PokeMap for Monocle
MIT License
11 stars 13 forks source link

so complety fresh installed #7

Closed Nightfirez1988 closed 6 years ago

Nightfirez1988 commented 6 years ago

PS C:\Users\MasterChief\Desktop\CSPM-master> python cspm.cy C:\Python30\python.exe: can't open file 'cspm.cy': [Errno 2] No such file or directory PS C:\Users\MasterChief\Desktop\CSPM-master> python cspm.py File "cspm.py", line 54 async def raid(ctx, arg, arg2, arg3, arg4): # arg = gym name, arg2 = pokemon name, arg3 = level, arg4 = time remaining ^ SyntaxError: invalid syntax

rkhous commented 6 years ago

try updating python3 to a later version.

Nightfirez1988 commented 6 years ago

now it works for me with 3.6.5 and i have another failure PS C:\Users\MasterChief\Desktop\CSPM-master> python --version Python 3.6.5 PS C:\Users\MasterChief\Desktop\CSPM-master> python cspm.py Traceback (most recent call last): File "cspm.py", line 1, in import MySQLdb ModuleNotFoundError: No module named 'MySQLdb'

rkhous commented 6 years ago

Assuming you're on Linux, run: sudo apt-get install python3-dev libmysqlclient-dev

However, this isn't an issue with the bot itself, stack overflow has many questions like this that have already been answered and will help you solve this issue. You're missing MySQLdb module, or you have path issues.

Closing for this reason.