New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to get Data #60
Comments
Can you send me the cmd (command line) log (text)? Open the cmd, navigate to Prophitbet's folder and type |
But I can go to the webpage and download data. https://www.football-data.co.uk/ |
Hmm, all right. I see. The issue is related to geo-political issues, as Google does not allow you for some reason to ping their server. So the app think you do not have access to the internet. You can bypass this by opening network/netutils.py and replace the "False" in line 9 with "True". It should work. |
I have changed the return "False" to "True". Still I cannot connect to internet to create league. Can you send me the related file after creating league ? maybe via email. 529598664@qq.com great thanks. |
All right, in the same file, replace the entire code with this one:
It should work fine |
It didnot work. I still cannot get access to the Internet. Is three any other method to create league data? I can add data manually if possible. Please show me the data form or example csv file. Also I can get data from other similar website. |
No, unfortunately You cannot manually add a league flle for several reasons. Please provide me with the following:
|
ok, I see that
It should work! I mean, it does work on everyone else. |
It still not work. Thanks again for your patient suggestions. |
Does it still shows the same message? |
yes. the same error. Could not connect to the internet serve. Maybe location restriction. |
Can you also show me a screenshot of the create league window? |
Yes, but You said that you can connect to https://football-data.co.uk/ website. I really can't understand the cause of this. Try running a command line (cmd) and type the following:
Does this code work? It should download the Premier League data. If not, it means that you are not allowed to have access to the server for some reason. |
When I use jupyter to run the above code, a list of excel was shown. when I typed the website, a csv has been downloaded. But I cannot creat league correctly. |
All right, let's try one last thing! Go to file
|
|
Yes, I see. The pandas version is different. Try re-installing this pandas version and try again: I also updated the requirements to make sure everyone updates their pandas version. Perhaps you should also check the requirements, to make sure your library versions match the suggested ones: |
|
yes, I think it requires visual studio to be installed, because it says microsoft visual c++ is required |
thanks a lot, i lower the python version to 3.9,it successfully worked. now im trying to figure out the parameters of these new models. the accuracy rate is only about 50%,any suggestions? |
When create League,for example, england, it could not connect to football-data server. maybe denied to access the website. How to tackle with this. Could you please provide me an example historical dataset to check the whole codes.? Great thanks for reply.
The text was updated successfully, but these errors were encountered: