Comments (18)
Latest version, I assume?
And is your API key set up?
from soccer-cli.
yes latest version and yes api key is setting up in config.py
from soccer-cli.
Hi @carlostkd ,
I am not able to reproduce the error. Could you clone the latest version here and try again?
from soccer-cli.
HI @architv i have uninstalled soccer-cli , i have removed the soccer-cli directory and when i try to clone again this is whats happen to me:
carlostkd@adsb-server:~> sudo git clone [email protected]:architv/soccer-cli.git
Cloning into 'soccer-cli'...
The authenticity of host 'github.com (192.30.252.120)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 [MD5].
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.120' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
carlostkd@adsb-server:> cd soccer-cli>
bash: cd: soccer-cli: No such file or directory
carlostkd@adsb-server:
from soccer-cli.
What about just:
$ git clone http://github.com/architv/soccer-cli.git
?
from soccer-cli.
@thurask well almost done.....
carlostkd@adsb-server:> git clone http://github.com/architv/soccer-cli.git> cd soccer-cli
Cloning into 'soccer-cli'...
remote: Counting objects: 720, done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 720 (delta 27), reused 0 (delta 0), pack-reused 674
Receiving objects: 100% (720/720), 136.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (447/447), done.
Checking connectivity... done.
carlostkd@adsb-server:
carlostkd@adsb-server:/soccer-cli> python setup.py install/soccer-cli>
Traceback (most recent call last):
File "setup.py", line 3, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
carlostkd@adsb-server:
from soccer-cli.
$ pip install setuptools
?
from soccer-cli.
@carlostkd if you are cloning for the sake of development, I highly recommend cloning within a virtual environment...in that way you will not have to worry about dependencies and versions of other libraries 😄
Please let us know if you need help 😄
from soccer-cli.
@thurask not works.....
carlostkd@adsb-server:/soccer-cli> sudo pip install --upgrade setuptools/soccer-cli> python setup.py install
root's password:
Collecting setuptools
Downloading setuptools-20.7.0-py2.py3-none-any.whl (508kB)
100% |████████████████████████████████| 512kB 666kB/s
Installing collected packages: setuptools
Found existing installation: setuptools 18.3.2
Uninstalling setuptools-18.3.2:
Successfully uninstalled setuptools-18.3.2
Successfully installed setuptools-20.7.0
carlostkd@adsb-server:
Traceback (most recent call last):
File "setup.py", line 3, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
carlostkd@adsb-server:~/soccer-cli>
from soccer-cli.
@ueg1990 hi thanks for the help , but unfortunatly you are talking in chinese for me ....
from soccer-cli.
lol nice! i would highly recommend putting sometime understanding and using virtual environments with Python projects...its is worth it! 😄
http://docs.python-guide.org/en/latest/dev/virtualenvs/
from soccer-cli.
@ueg1990 thanks bro i have added to favorits maybe be usefull for another think, but for a simple soccer-cli its to much job ah ah , thanks anyway
from soccer-cli.
sounds good! getting back to your original issue...open a python console and verify if you can actually import setuptools
from soccer-cli.
@ueg1990 sounds really good and maybe there is a code for doing that.... can you share please? i am basis in linux and dont know much about pyhton.
thanks in advance
from soccer-cli.
run the command 'python' in your linux terminal and then do 'import setuptools':
-bash-4.1$ python
Python 2.6.6 (r266:84292, Jan 22 2014, 01:49:05)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import setuptools
from soccer-cli.
thanks to all for the help i have do that
sudo apt-get install python-setuptools
afther that i can run setup.py install without problems and now all works fine
carlostkd@adsb-server:> soccer --standings --league=EPL>
POS CLUB PLAYED GOAL DIFF POINTS
1 Leicester City FC 33 26 72
2 Tottenham Hotspur FC 33 35 65
3 Arsenal FC 32 22 59
4 Manchester City FC 32 25 57
5 Manchester United FC 32 9 53
6 West Ham United FC 32 12 52
7 Southampton FC 33 10 50
8 Liverpool FC 31 8 48
9 Stoke City FC 33 -6 47
10 Chelsea FC 32 7 44
11 AFC Bournemouth 33 -15 41
12 Swansea City FC 33 -8 40
13 West Bromwich Albion FC 32 -8 40
14 Everton FC 31 9 39
15 Watford FC 32 -6 38
16 Crystal Palace FC 32 -7 37
17 Norwich City FC 33 -22 31
18 Sunderland AFC 32 -21 27
19 Newcastle United FC 32 -29 25
20 Aston Villa FC 33 -41 16
carlostkd@adsb-server:
from soccer-cli.
👍 thats awesome! 😄
from soccer-cli.
from soccer-cli.
Related Issues (20)
- Invalid Header Value HOT 1
- soccer-cli Installation HOT 1
- [Feature Request] Adding SPL HOT 1
- Adding Turkey Super League HOT 1
- Adding league filter for live scores HOT 1
- Adding Hero Indian Super League HOT 1
- No standings available for --league. HOT 4
- # Feature Request: Add World Cup HOT 2
- Feauture 'Adding Tunisia Football League " HOT 1
- Update the code to use V2 of the API HOT 1
- QUESTION: error with imports HOT 1
- No data returned at all HOT 7
- Feature request "Add African Nations Cup (CAF)"
- Euro 2020 qualifying and UEFA Nations League Support
- Is this project under active development? HOT 5
- Porting to python3 HOT 5
- Limit number of upcoming games/previous scores
- How to set the API key in windows ?
- Alternative to soccer-cli: footy, a cli (shell script) to display football-data.org data HOT 1
- [Help] Retrieving lineups on matches request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soccer-cli.