pretrehr / Sports-betting

Sports betting assistant (with interface) which optimizes earnings regarding odds and offers
MIT License
404 stars 93 forks source link

cannot import name 'gcd' from 'fractions' #4

Closed Rubery closed 3 years ago

Rubery commented 3 years ago

C:\Users\x\Desktop\Sports-betting-master>python interface_pysimplegui.py Traceback (most recent call last): File "C:\Users\x\Desktop\Sports-betting-master\interface_pysimplegui.py", line 20, in from sportsbetting.auxiliary_functions import get_nb_issues File "C:\Users\x\Desktop\Sports-betting-master\sportsbetting\auxiliary_functions.py", line 14, in import baseconvert File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\baseconvert__init__.py", line 1, in from baseconvert.baseconvert import BaseConverter File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\baseconvert\baseconvert.py", line 118, in from fractions import gcd ImportError: cannot import name 'gcd' from 'fractions' (C:\Users\x\AppData\Local\Programs\Python\Python39\lib\fractions.py)

pretrehr commented 3 years ago

Hi Rubery, Thanks for your message. One of the imported packages was not compatible with Python 3.9. The problem should be fixed now. Can you do a git pull and tell me if the problem is solved ? Thanks pretrehr

Rubery commented 3 years ago

yes, works now. Thank you