russ- / pychallonge

Python bindings for the CHALLONGE! API
http://challonge.com/api
BSD 2-Clause "Simplified" License
49 stars 19 forks source link

Unable to install package on PyCharm #17

Closed soullessoni closed 3 years ago

soullessoni commented 3 years ago

pip install -e git+http://github.com/russ-/pychallonge#egg=pychallonge Obtaining pychallonge from git+http://github.com/russ-/pychallonge#egg=pychallonge Cloning http://github.com/russ-/pychallonge to c:\users\adrien\pycharmprojects\flaskproject\venv\src\pychallonge ERROR: Command errored out with exit status 1: command: 'c:\users\adrien\pycharmprojects\flaskproject\venv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\users\adrien\pycharmprojects\flaskproject\venv\src\pychallonge\setup.py'"'"'; _ _file='"'"'c:\users\adrien\pycharmprojects\flaskproject\venv\src\pychallonge\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code , file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Adrien\AppData\Local\Temp\pip-pip-egg-info-hudrk2z0' cwd: c:\users\adrien\pycharmprojects\flaskproject\venv\src\pychallonge\ Complete output (11 lines): Traceback (most recent call last): File "", line 1, in File "c:\users\adrien\pycharmprojects\flaskproject\venv\src\pychallonge\setup.py", line 2, in import challonge File "c:\users\adrien\pycharmprojects\flaskproject\venv\src\pychallonge\challonge__init__.py", line 4, in from challonge import tournaments, matches, participants File "c:\users\adrien\pycharmprojects\flaskproject\venv\src\pychallonge\challonge\tournaments.py", line 1, in from challonge import api File "c:\users\adrien\pycharmprojects\flaskproject\venv\src\pychallonge\challonge\api.py", line 2, in import iso8601 ModuleNotFoundError: No module named 'iso8601'

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

py --version Python 3.9.0

ZEDGR commented 3 years ago

Hi @soullessoni

Can you try using this fork instead? As far as I know this module is not maintained anymore and as you can see the latest commit is from 2015.