pretrehr / Sports-betting

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

Lancement de l'interface graphique #58

Open anthonyob01 opened 1 year ago

anthonyob01 commented 1 year ago

Bonjour,

Ayant bien suivi les étapes :

Téléchargez ou clonez le dépôt
Allez à la racine du projet
Exécutez la commande  

pip install -r requirements.txt

Le terminal ne veut pas me lancer l'interface graphique. J'ai pourtant bien python3.6 ?

ubuntu@ubuntu-N9EFzeU:~/Sports-betting-master$ python interface_pysimplegui.py Chrome version : 112.0.5615.49 Built on Ubuntu , running on Ubuntu 18.04 Matching Chrome and chromedriver versions /home/ubuntu/miniconda3/lib/python3.6/site-packages/OpenSSL/crypto.py:8: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6. from cryptography import utils, x509 Traceback (most recent call last): File "interface_pysimplegui.py", line 25, in <module> from sportsbetting.user_functions import parse_competitions, get_sports_with_surebet, trj_match File "/home/ubuntu/Sports-betting-master/sportsbetting/user_functions.py", line 8, in <module> import requests File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/requests/__init__.py", line 95, in <module> from urllib3.contrib import pyopenssl File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 46, in <module> import OpenSSL.SSL File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import crypto, SSL File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/OpenSSL/crypto.py", line 3268, in <module> _lib.OpenSSL_add_all_algorithms() AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

Pourriez-vous m'aider ?

Merci d'avance.